From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: [PATCH 01/28] revert account-for-module-percpu-space-separately-from-kernel-percpu Date: Sat, 14 Apr 2007 13:41:55 -0700 Message-ID: <20070414204923.447804915@goop.org> References: <20070414204154.871250608@goop.org> Return-path: Content-Disposition: inline; filename=revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch Sender: linux-kernel-owner@vger.kernel.org To: Andi Kleen Cc: Andrew Morton , virtualization@lists.osdl.org, lkml List-Id: virtualization@lists.linuxfoundation.org Signed-off-by: Jeremy Fitzhardinge --- include/asm-i386/percpu.h | 10 ---------- 1 file changed, 10 deletions(-) =================================================================== --- a/include/asm-i386/percpu.h +++ b/include/asm-i386/percpu.h @@ -4,16 +4,6 @@ #ifndef __ASSEMBLY__ #include #else - -#ifdef CONFIG_MODULES -# define PERCPU_MODULE_RESERVE 8192 -#else -# define PERCPU_MODULE_RESERVE 0 -#endif - -#define PERCPU_ENOUGH_ROOM \ - (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \ - PERCPU_MODULE_RESERVE) /* * PER_CPU finds an address of a per-cpu variable. --