Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4d2cab7c00ebf5c12c3177763fed5a6b4658d384
Commit:     4d2cab7c00ebf5c12c3177763fed5a6b4658d384
Parent:     26fad19d8c3ca9abd7ffb85a63f8e25f1b4910dc
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Thu Sep 27 10:47:00 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Thu Sep 27 10:47:00 2007 +0900

    sh: Disable 4kB pages on extended mode TLB.
    
    4kB pages are unstable on extended mode TLB, it's recommended
    that TLB compat mode be used when using a 4kB PAGE_SIZE. Set
    the default for extended mode to 8kB.
    
    This should have negligible impact, as other than the extra swap
    cache entry bits, there's no reason to use the extended mode TLB
    with 4kB pages.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh/mm/Kconfig |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index a953989..d186c50 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -336,25 +336,27 @@ config ARCH_MEMORY_PROBE
 
 choice
        prompt "Kernel page size"
+       default PAGE_SIZE_8KB if X2TLB
        default PAGE_SIZE_4KB
 
 config PAGE_SIZE_4KB
        bool "4kB"
+       depends on !X2TLB
        help
          This is the default page size used by all SuperH CPUs.
 
 config PAGE_SIZE_8KB
        bool "8kB"
-       depends on EXPERIMENTAL && X2TLB
+       depends on X2TLB
        help
          This enables 8kB pages as supported by SH-X2 and later MMUs.
 
 config PAGE_SIZE_64KB
        bool "64kB"
-       depends on EXPERIMENTAL && CPU_SH4
+       depends on CPU_SH4
        help
          This enables support for 64kB pages, possible on all SH-4
-         CPUs and later. Highly experimental, not recommended.
+         CPUs and later.
 
 endchoice
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to