]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mempolicy: count MPOL_WEIGHTED_INTERLEAVE to "interleave_hit"
authorHonggyu Kim <honggyu.kim@sk.com>
Fri, 27 Dec 2024 09:57:37 +0000 (18:57 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 13 Jan 2025 03:03:35 +0000 (19:03 -0800)
commit264a88cafdbd0f4579af903145ac605d030f3f66
treea784a441d0275b258221c38569673044d859ac2d
parent2bff77c665edd854a09c479effe75b3b0e3fedef
mm/mempolicy: count MPOL_WEIGHTED_INTERLEAVE to "interleave_hit"

Commit fa3bea4e1f82 introduced MPOL_WEIGHTED_INTERLEAVE but it missed
adding its counter to "interleave_hit" of numastat, which is located at
/sys/devices/system/node/nodeN/ directory.

It'd be better to add weighted interleving counter info to the existing
"interleave_hit" instead of introducing a new counter
"weighted_interleave_hit".

Link: https://lkml.kernel.org/r/20241227095737.645-1-honggyu.kim@sk.com
Fixes: fa3bea4e1f82 ("mm/mempolicy: introduce MPOL_WEIGHTED_INTERLEAVE for weighted interleaving")
Signed-off-by: Honggyu Kim <honggyu.kim@sk.com>
Reviewed-by: Gregory Price <gourry@gourry.net>
Reviewed-by: Hyeonggon Yoo <hyeonggon.yoo@sk.com>
Tested-by: Yunjeong Mun <yunjeong.mun@sk.com>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mempolicy.c