]> git.baikalelectronics.ru Git - kernel.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)
commitce5cf8fce5cf884437195827980ad0e14afe4995
tree2e260355ed4773aa6b72ba23de54c4535d2f5770
parent97171e357621f977ede04e538946b353b3b840f7
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