OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.1 2/2] selftests/ve: check memory.numa_migrate keeps the folio order
Date: Wed, 28 Oct 2026 15:12:23 +0100	[thread overview]
Message-ID: <622b0189-a1cf-466f-b5b8-5b0b4649e8c6@virtuozzo.com> (raw)
In-Reply-To: <179319299768.343268.8435037349385138555.b4-review@b4>

On 10/28/26 14:09, Vasileios Almpanis wrote:
...

>> +	/* From here on a failure means eviction would crash the kernel. */
>> +	self->leave_mounted = 1;
>> +	snprintf(list, sizeof(list), "%d,%d", self->node_from, self->node_to);
>> +	ASSERT_EQ(write_file_at(self->cg_fd, "cpuset.mems", list), 0);
>> +	ASSERT_EQ(write_u64_at(self->cg_fd, "memory.numa_migrate",
>> +			       self->node_to), 0);
>> +
>> +	ASSERT_EQ(file_bytes_on_node(self->cg_fd, self->node_to,
>> +				     &on_to_after), 0);
>> +	TH_LOG("file bytes on node %d: %llu -> %llu", self->node_to,
>> +	       on_to_before, on_to_after);
> 
> Non blocker: in hosts with many CPUs we could read unflushed stats.
> Maybe do the memcmp loop first and retry numa_stat read for a few
> seconds.

Yeah, will try to handle this in v2.

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

  reply	other threads:[~2026-10-28 14:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-28 12:22 [Devel] [PATCH hci-8.1 0/2] mm/memcontrol: numa_migrate destinations of the source " Konstantin Khorenko
2026-10-28 12:22 ` [Devel] [PATCH hci-8.1 1/2] mm/memcontrol: allocate numa_migrate targets " Konstantin Khorenko
2026-10-28 12:26   ` no-reply
2026-10-28 13:09   ` Vasileios Almpanis
2026-10-28 14:14     ` Konstantin Khorenko
2026-10-28 12:22 ` [Devel] [PATCH hci-8.1 2/2] selftests/ve: check memory.numa_migrate keeps the " Konstantin Khorenko
2026-10-28 12:28   ` no-reply
2026-10-28 12:49   ` Pavel Tikhomirov
2026-10-28 14:08     ` Konstantin Khorenko
2026-10-28 13:09   ` Vasileios Almpanis
2026-10-28 14:12     ` Konstantin Khorenko [this message]
2026-10-28 12:49 ` [Devel] [PATCH hci-8.1 0/2] mm/memcontrol: numa_migrate destinations of the source " Pavel Tikhomirov
2026-10-28 13:09 ` Vasileios Almpanis

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=622b0189-a1cf-466f-b5b8-5b0b4649e8c6@virtuozzo.com \
    --to=khorenko@virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=vasileios.almpanis@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox