[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1mzagfu03.fsf@ebiederm.dsl.xmission.com>
Date: Mon, 07 Aug 2006 09:25:16 -0600
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Andrew Morton <akpm@...l.org>
CC: Andi Kleen <ak@...e.de>,
"Protasevich, Natalie" <Natalie.Protasevich@...SYS.com>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH] x86_64: Double the per cpu area size
With the support for more than 256 irqs kernel_stat.irqs has
grown noticeably in size. When asked about it no one wants to
keep less information, so we need a larger per cpu area.
According to my rough calculations the per cpu usage
has grown by about 15K (in the worst case) while the per cpu
area size has grown by 32K so we should have enough room for
a while.
Signed-off-by: Eric W. Biederman <ebiederm@...ssion.com>
---
include/asm-x86_64/percpu.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/asm-x86_64/percpu.h b/include/asm-x86_64/percpu.h
index 08dd9f9..56e3bdb 100644
--- a/include/asm-x86_64/percpu.h
+++ b/include/asm-x86_64/percpu.h
@@ -11,6 +11,8 @@ #ifdef CONFIG_SMP
#include <asm/pda.h>
+#define PERCPU_ENOUGH_ROOM 65536
+
#define __per_cpu_offset(cpu) (cpu_pda(cpu)->data_offset)
#define __my_cpu_offset() read_pda(data_offset)
--
1.4.2.rc3.g7e18e
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists