diff options
author | David S. Miller <davem@davemloft.net> | 2014-09-27 11:05:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 09:40:21 -0700 |
commit | 4e7657515b8edb442dfeb8b0cdb453afb716746f (patch) | |
tree | ca09975ef44c74a1fe245e67d2e9662f3b5307f6 /arch/sparc/include/asm/msi.h | |
parent | 539fe5fa0efd46d5b64ff7a26689729e1cfd1401 (diff) |
sparc64: Adjust vmalloc region size based upon available virtual address bits.
[ Upstream commit bb4e6e85daa52a9f6210fa06a5ec6269598a202b ]
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 <davem@davemloft.net>
Acked-by: Bob Picco <bob.picco@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/include/asm/msi.h')
0 files changed, 0 insertions, 0 deletions