Commit | Line | Data |
---|---|---|
1965aae3 PA |
1 | #ifndef _ASM_X86_NUMA_64_H |
2 | #define _ASM_X86_NUMA_64_H | |
1da177e4 | 3 | |
1da177e4 LT |
4 | #define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT)) |
5 | ||
1da177e4 LT |
6 | extern int numa_off; |
7 | ||
aaa64e04 | 8 | extern unsigned long numa_free_all_bootmem(void); |
aaa64e04 | 9 | |
05b3cbd8 | 10 | #ifdef CONFIG_NUMA |
7c43769a YL |
11 | /* |
12 | * Too small node sizes may confuse the VM badly. Usually they | |
13 | * result from BIOS bugs. So dont recognize nodes as standalone | |
14 | * NUMA entities that have less than this amount of RAM listed: | |
15 | */ | |
16 | #define NODE_MIN_SIZE (4*1024*1024) | |
17 | ||
8df5bb34 | 18 | #ifdef CONFIG_NUMA_EMU |
34dc9e74 | 19 | #define FAKE_NODE_MIN_SIZE ((u64)32 << 20) |
8df5bb34 | 20 | #define FAKE_NODE_MIN_HASH_MASK (~(FAKE_NODE_MIN_SIZE - 1UL)) |
90321602 | 21 | void numa_emu_cmdline(char *); |
8df5bb34 | 22 | #endif /* CONFIG_NUMA_EMU */ |
05b3cbd8 | 23 | #endif |
0b07e984 | 24 | |
1965aae3 | 25 | #endif /* _ASM_X86_NUMA_64_H */ |