[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200426174058.1181837-2-jiaxun.yang@flygoat.com>
Date: Mon, 27 Apr 2020 01:40:56 +0800
From: Jiaxun Yang <jiaxun.yang@...goat.com>
To: akpm@...ux-foundation.org
Cc: sunguoyun@...ngson.cn, Jiaxun Yang <jiaxun.yang@...goat.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Paul Burton <paulburton@...nel.org>,
Philippe Mathieu-Daudé <f4bug@...at.org>,
Dmitry Korotin <dkorotin@...ecomp.com>,
Daniel Silsby <dansilsby@...il.com>,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] mips/mm: Enable SOFT_DIRTY for all 64bit systems
64bit systems always have enough page table bits.
So we can safely enable it for all of them instead of for Loongson
only.
If oneday 32bit systems get 64bit PTEs than we can drop this
limition.
Signed-off-by: Jiaxun Yang <jiaxun.yang@...goat.com>
---
arch/mips/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 85011023839b..743ed9b9099e 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -45,6 +45,7 @@ config MIPS
select HAVE_ARCH_MMAP_RND_BITS if MMU
select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT
select HAVE_ARCH_SECCOMP_FILTER
+ select HAVE_ARCH_SOFT_DIRTY if 64BIT
select HAVE_ARCH_TRACEHOOK
select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES
select HAVE_ASM_MODVERSIONS
@@ -495,7 +496,6 @@ config MACH_LOONGSON64
select COMMON_CLK
select USE_OF
select BUILTIN_DTB
- select HAVE_ARCH_SOFT_DIRTY
help
This enables the support of Loongson-2/3 family of machines.
--
2.26.0.rc2
Powered by blists - more mailing lists