mm,page_owner: filter out stacks by a threshold
authorOscar Salvador <osalvador@suse.de>
Thu, 15 Feb 2024 21:59:06 +0000 (22:59 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 24 Feb 2024 01:48:17 +0000 (17:48 -0800)
commit05bb6f4e826bc8d02632ff942ee8d34b7be37379
tree0f33ed0278e70e129e8f1316d85d1ad29625e3f5
parent765973a098037b198ffb813244dbdb45c875ad5f
mm,page_owner: filter out stacks by a threshold

We want to be able to filter out the stacks based on a threshold we can
can tune.  By writing to 'count_threshold' file, we can adjust the
threshold value.

Link: https://lkml.kernel.org/r/20240215215907.20121-7-osalvador@suse.de
Signed-off-by: Oscar Salvador <osalvador@suse.de>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Marco Elver <elver@google.com>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_owner.c