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
17781778
17791779 config ARCH_FLATMEM_ENABLE
17801780 def_bool y
1781− depends on !NUMA
1781+ depends on !NUMA && !CPU_LOONGSON2
17821782
17831783 config ARCH_DISCONTIGMEM_ENABLE
17841784 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