]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: reduce noise in show_mem for lowmem allocations
authorMichal Hocko <mhocko@suse.com>
Tue, 23 Aug 2022 09:22:30 +0000 (11:22 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:03:30 +0000 (22:03 -0700)
commit9ea9abc5cd7ed674c548915f8340c1cf706b396c
tree53b1842941768a7b80359439b5126963113ab2b6
parent64268bdf1a523b973a69f64eba3a4b20fa79a27d
mm: reduce noise in show_mem for lowmem allocations

While discussing early DMA pool pre-allocation failure with Christoph [1]
I have realized that the allocation failure warning is rather noisy for
constrained allocations like GFP_DMA{32}.  Those zones are usually not
populated on all nodes very often as their memory ranges are constrained.

This is an attempt to reduce the ballast that doesn't provide any relevant
information for those allocation failures investigation.  Please note that
I have only compile tested it (in my default config setup) and I am
throwing it mostly to see what people think about it.

[1] http://lkml.kernel.org/r/20220817060647.1032426-1-hch@lst.de

Link: https://lkml.kernel.org/r/YwScVmVofIZkopkF@dhcp22.suse.cz
Signed-off-by: Michal Hocko <mhocko@suse.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/tty/sysrq.c
drivers/tty/vt/keyboard.c
include/linux/mm.h
init/initramfs.c
kernel/panic.c
lib/show_mem.c
mm/nommu.c
mm/oom_kill.c
mm/page_alloc.c