]> 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)
commit9064f91a3bddaede534e1ef5551bca11f05d79f8
tree2e260355ed4773aa6b72ba23de54c4535d2f5770
parent5c122200a87e42b33d31af0f0d190d317afefadd
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