aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/Kconfig
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2012-10-08 19:34:19 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-09 03:23:04 -0400
commit15b9350a177b9fb23b69e00f78f52890ee338880 (patch)
treecfc45bbb2239487fa0232f9bc470494ee5c2afc9 /arch/sparc/Kconfig
parentd760afd4d2570653891f94e13b848e97150dc5a6 (diff)
sparc64: Only support 4MB huge pages and 8KB base pages.
Narrowing the scope of the page size configurations will make the transparent hugepage changes much simpler. In the end what we really want to do is have the kernel support multiple huge page sizes and use whatever is appropriate as the context dictactes. Signed-off-by: David S. Miller <davem@davemloft.net> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r--arch/sparc/Kconfig36
1 files changed, 0 insertions, 36 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index e184075877d7..91c780c973ba 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -230,25 +230,6 @@ config EARLYFB
230 help 230 help
231 Say Y here to enable a faster early framebuffer boot console. 231 Say Y here to enable a faster early framebuffer boot console.
232 232
233choice
234 prompt "Kernel page size" if SPARC64
235 default SPARC64_PAGE_SIZE_8KB
236
237config SPARC64_PAGE_SIZE_8KB
238 bool "8KB"
239 help
240 This lets you select the page size of the kernel.
241
242 8KB and 64KB work quite well, since SPARC ELF sections
243 provide for up to 64KB alignment.
244
245 If you don't know what to do, choose 8KB.
246
247config SPARC64_PAGE_SIZE_64KB
248 bool "64KB"
249
250endchoice
251
252config SECCOMP 233config SECCOMP
253 bool "Enable seccomp to safely compute untrusted bytecode" 234 bool "Enable seccomp to safely compute untrusted bytecode"
254 depends on SPARC64 && PROC_FS 235 depends on SPARC64 && PROC_FS
@@ -320,23 +301,6 @@ config GENERIC_LOCKBREAK
320 default y 301 default y
321 depends on SPARC64 && SMP && PREEMPT 302 depends on SPARC64 && SMP && PREEMPT
322 303
323choice
324 prompt "SPARC64 Huge TLB Page Size"
325 depends on SPARC64 && HUGETLB_PAGE
326 default HUGETLB_PAGE_SIZE_4MB
327
328config HUGETLB_PAGE_SIZE_4MB
329 bool "4MB"
330
331config HUGETLB_PAGE_SIZE_512K
332 bool "512K"
333
334config HUGETLB_PAGE_SIZE_64K
335 depends on !SPARC64_PAGE_SIZE_64KB
336 bool "64K"
337
338endchoice
339
340config NUMA 304config NUMA
341 bool "NUMA support" 305 bool "NUMA support"
342 depends on SPARC64 && SMP 306 depends on SPARC64 && SMP