Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef _ASM_IA64_SHMPARAM_H |
| 3 | #define _ASM_IA64_SHMPARAM_H |
| 4 | |
| 5 | /* |
| 6 | * SHMLBA controls minimum alignment at which shared memory segments |
| 7 | * get attached. The IA-64 architecture says that there may be a |
| 8 | * performance degradation when there are virtual aliases within 1MB. |
| 9 | * To reduce the chance of this, we set SHMLBA to 1MB. --davidm 00/12/20 |
| 10 | */ |
| 11 | #define SHMLBA (1024*1024) |
| 12 | |
| 13 | #endif /* _ASM_IA64_SHMPARAM_H */ |