From: David S. Miller Date: Sat, 27 Sep 2014 18:05:21 +0000 (-0700) Subject: sparc64: Adjust vmalloc region size based upon available virtual address bits. X-Git-Tag: fixes-against-v3.18-rc2~116^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb4e6e85daa52a9f6210fa06a5ec6269598a202b;p=pandora-kernel.git sparc64: Adjust vmalloc region size based upon available virtual address bits. In order to accomodate embedded per-cpu allocation with large numbers of cpus and numa nodes, we have to use as much virtual address space as possible for the vmalloc region. Otherwise we can get things like: PERCPU: max_distance=0x380001c10000 too large for vmalloc space 0xff00000000 So, once we select a value for PAGE_OFFSET, derive the size of the vmalloc region based upon that. Signed-off-by: David S. Miller Acked-by: Bob Picco --- Reading git-diff-tree failed