Staging
v0.5.1
https://github.com/torvalds/linux
Revision 6ebba0e2f56ee77270a9ef8e92c1b4ec38e5f419 authored by Sergei Shtylyov on 27 May 2006, 16:43:04 UTC, committed by Ralf Baechle on 05 June 2006, 23:15:16 UTC
    
With 64-bit physical address enabled, 'swapon' was causing kernel oops on
Alchemy CPUs (MIPS32) because of the swap entry type field corrupting the
_PAGE_FILE bit in 'pte_low' field. So, switch to storing the swap entry in
'pte_high' field using all its bits except _PAGE_GLOBAL and _PAGE_VALID which
gives 25 bits for the swap entry offset.
    
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 79e0bc3
History
Tip revision: 6ebba0e2f56ee77270a9ef8e92c1b4ec38e5f419 authored by Sergei Shtylyov on 27 May 2006, 16:43:04 UTC
[MIPS] Fix swap entry for MIPS32 36-bit physical address
Tip revision: 6ebba0e
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 462 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.4 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 68.8 KB
Makefile -rw-r--r-- 43.6 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top