milos-linux/tools/mm
Kaushlendra Kumar 8b8017d7c4 tools/mm/slabinfo: fix --partial long option mapping
The long option "--partial" was incorrectly mapped to lowercase 'p' in the
opts[] array, but the getopt string and switch case handle uppercase 'P'. 
This mismatch caused --partial to be rejected.

Fix the long_options mapping to use 'P' so --partial works correctly
alongside the existing -P short option.

Link: https://lkml.kernel.org/r/20251208105240.2719773-1-kaushlendra.kumar@intel.com
Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Tested-by: SeongJae Park <sj@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-01-20 19:24:43 -08:00
..
.gitignore
Makefile
page-types.c
page_owner_sort.c
show_page_info.py
slabinfo-gnuplot.sh
slabinfo.c tools/mm/slabinfo: fix --partial long option mapping 2026-01-20 19:24:43 -08:00
thp_swap_allocator_test.c tools/mm/thp_swap_allocator_test: fix small folio alignment 2026-01-20 19:24:42 -08:00
thpmaps