vmemmap: warn about page_structs with remote distance
authorDavid Rientjes <rientjes@google.com>
Thu, 6 Nov 2008 20:53:31 +0000 (12:53 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Nov 2008 23:41:19 +0000 (15:41 -0800)
commitb41ad14c30acf023d09ac064096a4cf41248ce46
tree30609ac0611f9172cecf846a5b67a65f973adf78
parent0aedadf91a70a11c4a3e7c7d99b21e5528af8d5d
vmemmap: warn about page_structs with remote distance

It's insufficient to simply compare node ids when warning about offnode
page_structs since it's possible to still have local affinity.

Acked-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-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/sparse-vmemmap.c