History

MIPS: Loongson: Switch from flatmem to sparsemem

With flatmem hibernation for Loongson will fail, and there are also some other problems such as broken files when using NFS or CIFS / Samba. 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. Related email thread: http://groups.google.com/group/loongson-dev/browse_thread/thread/b6b65890ec2b0f24/feb43e5aa7f55d9b?show_docid=feb43e5aa7f55d9b

Wu Zhangjin committed 16 years ago

Commit f133f221 parent 315fe621 file · +1 −1Browse files

Unified · Split

arch/mips/Kconfig+1−1
@@ -1778,7 +1778,7 @@ config SYS_SUPPORTS_SMARTMIPS · 1777 unmodified lines
1778 1778
1779config ARCH_FLATMEM_ENABLE1779config ARCH_FLATMEM_ENABLE
1780 def_bool y1780 def_bool y
1781 depends on !NUMA1781 depends on !NUMA && !CPU_LOONGSON2
1782 1782
1783config ARCH_DISCONTIGMEM_ENABLE1783config ARCH_DISCONTIGMEM_ENABLE
1784 bool1784 bool

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t