summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2013-02-22 16:34:47 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-23 17:50:18 -0800
commita4e1b4c6c6db7b7d1ca7f399b4e08aa381f23899 (patch)
tree5546e920bdf0c88aa1b838b5e12a95fc90b59efa /mm/memcontrol.c
parent4468b8f1e2d32ce79ef4bcb8e00d7e88627f1c3a (diff)
downloadblackbird-op-linux-a4e1b4c6c6db7b7d1ca7f399b4e08aa381f23899.tar.gz
blackbird-op-linux-a4e1b4c6c6db7b7d1ca7f399b4e08aa381f23899.zip
mm: init: report on last-nid information stored in page->flags
Answering the question "how much space remains in the page->flags" is time-consuming. mminit_loglevel can help answer the question but it does not take last_nid information into account. This patch corrects it and while there it corrects the messages related to page flag usage, pgshifts and node/zone id. When applied the relevant output looks something like this but will depend on the kernel configuration. mminit::pageflags_layout_widths Section 0 Node 9 Zone 2 Lastnid 9 Flags 25 mminit::pageflags_layout_shifts Section 19 Node 9 Zone 2 Lastnid 9 mminit::pageflags_layout_pgshifts Section 0 Node 55 Zone 53 Lastnid 44 mminit::pageflags_layout_nodezoneid Node/Zone ID: 64 -> 53 mminit::pageflags_layout_usage location: 64 -> 44 layout 44 -> 25 unused 25 -> 0 page-flags Signed-off-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud