* [PATCH 2/2] Loongson: disable FLATMEM
@ 2009-12-01 6:55 Wu Zhangjin
2009-12-01 15:58 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Wu Zhangjin @ 2009-12-01 6:55 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, zhangfx, Wu Zhangjin
From: Wu Zhangjin <wuzhangjin@gmail.com>
With FLATMEM, The STD(Hibernation) for Loongson will fail, and there are
also some other problems(break the files) when using NFS or CIFS(samba).
And as the config help of SPARSEMEM says:
"This option provides some potential performance benefits, along with
decreased code complexity."
So, to avoid the potential problems of FLATMEM, we disable FLATMEM
directly and use SPARSEMEM instead.
Relative Email thread:
http://groups.google.com/group/loongson-dev/browse_thread/thread/b6b65890ec2b0f24/feb43e5aa7f55d9b?show_docid=feb43e5aa7f55d9b
Reported-by: Tatu Kilappa <tatu.kilappa@gmail.com>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
arch/mips/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 8bf36d2..0be245d 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1835,7 +1835,7 @@ config SYS_SUPPORTS_SMARTMIPS
config ARCH_FLATMEM_ENABLE
def_bool y
- depends on !NUMA
+ depends on !NUMA && !CPU_LOONGSON2
config ARCH_DISCONTIGMEM_ENABLE
bool
--
1.6.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] Loongson: disable FLATMEM
2009-12-01 6:55 [PATCH 2/2] Loongson: disable FLATMEM Wu Zhangjin
@ 2009-12-01 15:58 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-12-01 15:58 UTC (permalink / raw)
To: Wu Zhangjin; +Cc: linux-mips, zhangfx
On Tue, Dec 01, 2009 at 02:55:42PM +0800, Wu Zhangjin wrote:
> With FLATMEM, The STD(Hibernation) for Loongson will fail, and there are
> also some other problems(break the files) when using NFS or CIFS(samba).
>
> And as the config help of SPARSEMEM says:
>
> "This option provides some potential performance benefits, along with
> decreased code complexity."
>
> So, to avoid the potential problems of FLATMEM, we disable FLATMEM
> directly and use SPARSEMEM instead.
>
> Relative Email thread:
>
> http://groups.google.com/group/loongson-dev/browse_thread/thread/b6b65890ec2b0f24/feb43e5aa7f55d9b?show_docid=feb43e5aa7f55d9b
>
> Reported-by: Tatu Kilappa <tatu.kilappa@gmail.com>
> Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Applied - though I'm not so sure if I can get this one to Linus as
close to a release as we are now.
Thanks!
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-01 15:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 6:55 [PATCH 2/2] Loongson: disable FLATMEM Wu Zhangjin
2009-12-01 15:58 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).