]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm/page_alloc.c: fix type information of memoryless node
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 8 Sep 2015 22:04:19 +0000 (15:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Sep 2015 22:35:28 +0000 (15:35 -0700)
commit4ada0c5a2daf11816180ec30bdbdbed1f6ff3224
tree2e260355ed4773aa6b72ba23de54c4535d2f5770
parentb5685e9263a6f3a8da546b8a46382f18a63745c9
mm/page_alloc.c: fix type information of memoryless node

For a memoryless node, the output of get_pfn_range_for_nid are all zero.
It will display mem from 0 to -1.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c