summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/shmparam.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-09-22 13:08:57 +0200
committerIngo Molnar <mingo@elte.hu>2008-09-22 13:08:57 +0200
commit0b88641f1bafdbd087d5e63987a30cc0eadd63b9 (patch)
tree81dcf756db373444140bb2623584710c628e3048 /arch/ia64/include/asm/shmparam.h
parentfbdbf709938d155c719c76b9894d28342632c797 (diff)
parent72d31053f62c4bc464c2783974926969614a8649 (diff)
downloadblackbird-op-linux-0b88641f1bafdbd087d5e63987a30cc0eadd63b9.tar.gz
blackbird-op-linux-0b88641f1bafdbd087d5e63987a30cc0eadd63b9.zip
Merge commit 'v2.6.27-rc7' into x86/debug
Diffstat (limited to 'arch/ia64/include/asm/shmparam.h')
-rw-r--r--arch/ia64/include/asm/shmparam.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/shmparam.h b/arch/ia64/include/asm/shmparam.h
new file mode 100644
index 000000000000..d07508dc54ae
--- /dev/null
+++ b/arch/ia64/include/asm/shmparam.h
@@ -0,0 +1,12 @@
+#ifndef _ASM_IA64_SHMPARAM_H
+#define _ASM_IA64_SHMPARAM_H
+
+/*
+ * SHMLBA controls minimum alignment at which shared memory segments
+ * get attached. The IA-64 architecture says that there may be a
+ * performance degradation when there are virtual aliases within 1MB.
+ * To reduce the chance of this, we set SHMLBA to 1MB. --davidm 00/12/20
+ */
+#define SHMLBA (1024*1024)
+
+#endif /* _ASM_IA64_SHMPARAM_H */
OpenPOWER on IntegriCloud