From: David S. Miller Date: Thu, 25 Sep 2014 04:20:14 +0000 (-0700) Subject: sparc64: Use kernel page tables for vmemmap. X-Git-Tag: omap-for-v3.19/prcm-cleanup~113^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c06240c7f5c39c83dfd7849c0770775562441b96;p=pandora-kernel.git sparc64: Use kernel page tables for vmemmap. For sparse memory configurations, the vmemmap array behaves terribly and it takes up an inordinate amount of space in the BSS section of the kernel image unconditionally. Just build huge PMDs and look them up just like we do for TLB misses in the vmalloc area. Kernel BSS shrinks by about 2MB. Signed-off-by: David S. Miller Acked-by: Bob Picco --- Reading git-diff-tree failed