linux-stable/tools/vm
Steve Chou 32d92df24f tools/mm/page_owner_sort.c: fix TGID output when cull=tg is used
commit 9235756885 upstream.

When using cull option with 'tg' flag, the fprintf is using pid instead
of tgid. It should use tgid instead.

Link: https://lkml.kernel.org/r/20230411034929.2071501-1-steve_chou@pesi.com.tw
Fixes: 9c8a0a8e59 ("tools/vm/page_owner_sort.c: support for user-defined culling rules")
Signed-off-by: Steve Chou <steve_chou@pesi.com.tw>
Cc: Jiajian Ye <yejiajian2018@email.szu.edu.cn>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-26 14:30:04 +02:00
..
.gitignore tools/vm/page_owner: ignore page_owner_sort binary 2022-11-30 15:58:48 -08:00
Makefile tools/vm: fix cross-compile build 2020-04-21 11:11:56 -07:00
page-types.c mm/page-flags: reuse PG_mappedtodisk as PG_anon_exclusive for PageAnon() pages 2022-05-09 18:20:44 -07:00
page_owner_sort.c tools/mm/page_owner_sort.c: fix TGID output when cull=tg is used 2023-04-26 14:30:04 +02:00
slabinfo-gnuplot.sh tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep" 2022-11-30 14:49:41 -08:00
slabinfo.c tools/vm/slabinfo: indicates the cause of the EACCES error 2022-11-10 10:00:38 +01:00