]> git.baikalelectronics.ru Git - kernel.git/commit
mm/page_alloc.c: print reserved_highatomic info
authorlijiazi <jqqlijiazi@gmail.com>
Sun, 1 Dec 2019 01:55:21 +0000 (17:55 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 1 Dec 2019 20:59:06 +0000 (12:59 -0800)
commit75c0bf6c6ddcdcf691927ba2c9f3338fb103ba52
tree5482dc45e58461dfb00ed3b27237937b5f3c1507
parentfad25ebccb4af60bf7c32cd41ed6afc4c67b38a0
mm/page_alloc.c: print reserved_highatomic info

Print nr_reserved_highatomic in show_free_areas, because when alloc_harder
is false, this value will be subtracted from the free_pages in
__zone_watermark_ok.  Printing this value can help analyze memory
allocaction failure issues.

Link: http://lkml.kernel.org/r/19515f3de2fb6abe66b52e03e4b676a21e82beda.1573634806.git.lijiazi@xiaomi.com
Signed-off-by: lijiazi <lijiazi@xiaomi.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c