All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Mirian Shilakadze <mirian.shilakadze@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2] selftests/ve: read ve.mnt_avail_nr as a signed value in ve_ns_owner_test
Date: Thu, 19 Nov 2026 17:51:51 +0100	[thread overview]
Message-ID: <179510711164.1461989.3513466419330719997.b4-review@b4> (raw)
In-Reply-To: <20261119071250.470335-1-mirian.shilakadze@virtuozzo.com>

Applying with these fixes on my side:

- dropped "A VHI host with 70 mounts reads -39." from the message.

On Thu, 19 Nov 2026 11:12:23 +0400, Mirian Shilakadze wrote:
> charge ignores the limit, so ve.mnt_avail_nr goes below zero once the
> host has more mounts than the test's limit of 32. A VHI host with 70
> mounts reads -39. The test reads the counter with read_u64_at(), the

A count from one host says nothing to a later reader, and it is off by
one anyway: copy_tree() also copies the root mount that /proc/mounts
does not show, so the counter goes negative at 32 visible mounts.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

  parent reply	other threads:[~2026-11-19 16:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19  7:12 Mirian Shilakadze
2026-11-19  7:15 ` no-reply
2026-11-19 16:51 ` Konstantin Khorenko [this message]
2026-11-19 16:52 ` Konstantin Khorenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179510711164.1461989.3513466419330719997.b4-review@b4 \
    --to=khorenko@virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=mirian.shilakadze@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.