drivers/virtio/virtio_balloon.c | 8 ++++---- include/linux/mmzone.h | 21 +++++++++++++++++++ include/linux/vm_event_item.h | 12 ----------- mm/memcontrol.c | 36 ++++++++++++++++++--------------- mm/mempolicy.c | 30 +++++++++++++++++++++++++-- mm/vmscan.c | 32 +++++++++++------------------ mm/vmstat.c | 33 +++++++++++++++++++----------- 7 files changed, 106 insertions(+), 66 deletions(-)
We sometimes find ourselves in situations where reclaim kicks in, yet there is free memory available on the system. One possible explanation is that a NUMA node under pressure has triggered the reclaim. This NUMA imbalance scenario could be made easier to diagnose if we had better visibility. This series aims to provide that visibility by accounting for the cause and effect of the imbalance. First, the addition of new node stats allows for tracking of allocations done on a per-policy basis. If a node is under pressure, these stats can help reveal the cause of how it got there. Second, the stats associated with reclaim are changed from vm_event_item to node_stat_item. Having the pgsteal and pgscan counters tracked on a per-node basis reveals the effect of any pressure, and allows us to quickly narrow down the affected node(s). JP Kobryn (2): mm/mempolicy: track page allocations per mempolicy mm: move pgscan and pgsteal to node stats drivers/virtio/virtio_balloon.c | 8 ++++---- include/linux/mmzone.h | 21 +++++++++++++++++++ include/linux/vm_event_item.h | 12 ----------- mm/memcontrol.c | 36 ++++++++++++++++++--------------- mm/mempolicy.c | 30 +++++++++++++++++++++++++-- mm/vmscan.c | 32 +++++++++++------------------ mm/vmstat.c | 33 +++++++++++++++++++----------- 7 files changed, 106 insertions(+), 66 deletions(-) -- 2.47.3
On Wed, Feb 11, 2026 at 08:51:07PM -0800, JP Kobryn wrote: > We sometimes find ourselves in situations where reclaim kicks in, yet there who is we? you haven't indicated any affiliation in your tags.
On 2/11/26 8:57 PM, Matthew Wilcox wrote: > On Wed, Feb 11, 2026 at 08:51:07PM -0800, JP Kobryn wrote: >> We sometimes find ourselves in situations where reclaim kicks in, yet there > > who is we? you haven't indicated any affiliation in your tags. Meta. Is there a preferred way of indicating this?
On Thu, Feb 12, 2026 at 01:22:09PM -0800, JP Kobryn wrote:
> On 2/11/26 8:57 PM, Matthew Wilcox wrote:
> > On Wed, Feb 11, 2026 at 08:51:07PM -0800, JP Kobryn wrote:
> > > We sometimes find ourselves in situations where reclaim kicks in, yet there
> >
> > who is we? you haven't indicated any affiliation in your tags.
>
> Meta. Is there a preferred way of indicating this?
Documentation/process/submitting-patches.rst:
From Line
^^^^^^^^^
The ``from`` line must be the very first line in the message body,
and has the form:
From: Patch Author <author@example.com>
The ``from`` line specifies who will be credited as the author of the
patch in the permanent changelog. If the ``from`` line is missing,
then the ``From:`` line from the email header will be used to determine
the patch author in the changelog.
The author may indicate their affiliation or the sponsor of the work
by adding the name of an organization to the ``from`` and ``SoB`` lines,
e.g.:
From: Patch Author (Company) <author@example.com>
I do this with ~/.gitconfig
[user]
name = Matthew Wilcox (Oracle)
email = willy@infradead.org
and it goes into the From and Signed-off-by lines correctly when
generating patches.
syzbot ci has tested the following series [v1] improve per-node allocation and reclaim visibility https://lore.kernel.org/all/20260212045109.255391-1-inwardvessel@gmail.com * [PATCH 1/2] mm/mempolicy: track page allocations per mempolicy * [PATCH 2/2] mm: move pgscan and pgsteal to node stats and found the following issue: WARNING in __mod_node_page_state Full report is available here: https://ci.syzbot.org/series/4ec12ede-3298-43a3-ab6b-79d47759672e *** WARNING in __mod_node_page_state tree: mm-new URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/akpm/mm.git base: 72a46cdd4ef13690beb8c5a2f6a2023fd7ef2eb4 arch: amd64 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 config: https://ci.syzbot.org/builds/0f678e4c-a4ba-4f17-8ed7-8ae99e56a463/config ------------[ cut here ]------------ IS_ENABLED(CONFIG_PREEMPT_COUNT) && __lockdep_enabled && (preempt_count() == 0 && this_cpu_read(hardirqs_enabled)) WARNING: mm/vmstat.c:396 at __mod_node_page_state+0x126/0x170, CPU#0: kthreadd/2 Modules linked in: CPU: 0 UID: 0 PID: 2 Comm: kthreadd Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:__mod_node_page_state+0x126/0x170 Code: 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 89 df 4c 89 e6 44 89 fa e8 68 00 00 00 31 db eb cc 90 0f 0b 90 e9 3e ff ff ff 90 <0f> 0b 90 eb 80 48 c7 c7 e0 c6 64 8e 4c 89 f6 e8 66 3c d3 02 e9 28 RSP: 0000:ffffc900000773d0 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 000000000000003d RDI: ffff88815fffb380 RBP: dffffc0000000000 R08: ffffffff8fef2977 R09: 1ffffffff1fde52e R10: dffffc0000000000 R11: fffffbfff1fde52f R12: ffff88815fffb380 R13: ffffffff92f50f00 R14: 000000000000003d R15: 000000000000003d FS: 0000000000000000(0000) GS:ffff88818e0f0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff88823ffff000 CR3: 000000000e346000 CR4: 00000000000006f0 Call Trace: <TASK> alloc_pages_mpol+0x407/0x740 alloc_pages_noprof+0xa8/0x190 get_free_pages_noprof+0xf/0x80 __kasan_populate_vmalloc+0x38/0x1d0 alloc_vmap_area+0xd21/0x1460 __get_vm_area_node+0x1f8/0x300 __vmalloc_node_range_noprof+0x372/0x1730 __vmalloc_node_noprof+0xc2/0x100 dup_task_struct+0x228/0x9a0 copy_process+0x508/0x3980 kernel_clone+0x248/0x870 kernel_thread+0x13f/0x1b0 kthreadd+0x4f9/0x6f0 ret_from_fork+0x51b/0xa40 ret_from_fork_asm+0x1a/0x30 </TASK> *** If these findings have caused you to resend the series or submit a separate fix, please add the following tag to your commit message: Tested-by: syzbot@syzkaller.appspotmail.com --- This report is generated by a bot. It may contain errors. syzbot ci engineers can be reached at syzkaller@googlegroups.com.
© 2016 - 2026 Red Hat, Inc.