Date: Fri, 9 Aug 2013 21:53:02 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254164 - head/sys/arm/include Message-ID: <201308092153.r79Lr2BY043441@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cognet Date: Fri Aug 9 21:53:02 2013 New Revision: 254164 URL: http://svnweb.freebsd.org/changeset/base/254164 Log: Make sure vm_kmem_size is aligned on a page boundary, since that's what vmem expects. Modified: head/sys/arm/include/vmparam.h Modified: head/sys/arm/include/vmparam.h ============================================================================== --- head/sys/arm/include/vmparam.h Fri Aug 9 21:14:55 2013 (r254163) +++ head/sys/arm/include/vmparam.h Fri Aug 9 21:53:02 2013 (r254164) @@ -165,8 +165,8 @@ * Ceiling on the size of the kmem submap: 40% of the kernel map. */ #ifndef VM_KMEM_SIZE_MAX -#define VM_KMEM_SIZE_MAX ((vm_max_kernel_address - \ - VM_MIN_KERNEL_ADDRESS + 1) * 2 / 5) +#define VM_KMEM_SIZE_MAX (((vm_max_kernel_address - \ + VM_MIN_KERNEL_ADDRESS + 1) * 2 / 5) &~ PAGE_MASK) #endif #ifdef ARM_USE_SMALL_ALLOC
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308092153.r79Lr2BY043441>