kernel_optimize_test/arch/arm/include/asm
Will Deacon f5f2025ef3 ARM: 7488/1: mm: use 5 bits for swapfile type encoding
Page migration encodes the pfn in the offset field of a swp_entry_t.
For LPAE, we support physical addresses of up to 36 bits (due to
sparsemem limitations with the size of page flags), requiring 24 bits
to represent a pfn. A further 3 bits are used to encode a swp_entry into
a pte, leaving 5 bits for the type field. Furthermore, the core code
defines MAX_SWAPFILES_SHIFT as 5, so the additional type bit does not
get used.

This patch reduces the width of the type field to 5 bits, allowing us
to create up to 31 swapfiles of 64GB each.

Cc: <stable@vger.kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2012-08-11 09:15:59 +01:00
..
hardware
mach
a.out-core.h
a.out.h
arch_timer.h
asm-offsets.h
assembler.h
atomic.h
barrier.h
bitops.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
cachetype.h
checksum.h
clkdev.h
cmpxchg.h
compiler.h
cp15.h
cpu.h
cpuidle.h
cputype.h
cti.h
current.h
delay.h
device.h
div64.h
dma-contiguous.h
dma-iommu.h
dma-mapping.h
dma.h
domain.h
ecard.h
edac.h
elf.h
entry-macro-multi.S
exception.h
exec.h
fb.h
fcntl.h
fiq.h
fixmap.h
flat.h
floppy.h
fncpy.h
fpstate.h
ftrace.h
futex.h
glue-cache.h
glue-df.h
glue-pf.h
glue-proc.h
glue.h
gpio.h
hardirq.h
highmem.h
hw_breakpoint.h
hw_irq.h
hwcap.h
ide.h
idmap.h
io.h
ioctls.h
ipcbuf.h
irq.h
irqflags.h
jump_label.h
Kbuild
kexec.h
kgdb.h
kmap_types.h
kprobes.h
kvm_para.h
leds.h
limits.h
linkage.h
localtimer.h
mach-types.h
mc146818rtc.h
memblock.h
memory.h
mman.h
mmu_context.h
mmu.h
module.h
msgbuf.h
mtd-xip.h
mutex.h
nwflash.h
opcodes.h
outercache.h
page-nommu.h
page.h
param.h
parport.h
pci.h
perf_event.h
pgalloc.h
pgtable-2level-hwdef.h
pgtable-2level-types.h
pgtable-2level.h
pgtable-3level-hwdef.h
pgtable-3level-types.h
pgtable-3level.h
pgtable-hwdef.h
pgtable-nommu.h
pgtable.h ARM: 7488/1: mm: use 5 bits for swapfile type encoding 2012-08-11 09:15:59 +01:00
pmu.h
posix_types.h
proc-fns.h
processor.h
procinfo.h
prom.h
ptrace.h
scatterlist.h
sched_clock.h ARM: 7486/1: sched_clock: update epoch_cyc on resume 2012-08-11 09:15:58 +01:00
seccomp.h
segment.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
signal.h
smp_plat.h
smp_scu.h
smp_twd.h
smp.h
socket.h
sockios.h
sparsemem.h
spinlock_types.h
spinlock.h
stackprotector.h
stacktrace.h
stat.h
statfs.h
string.h
suspend.h
swab.h
switch_to.h
syscall.h
system_info.h
system_misc.h
system.h
tcm.h
termbits.h
termios.h
therm.h
thread_info.h
thread_notify.h
timex.h
tlb.h
tlbflush.h
tls.h
topology.h
traps.h
types.h
uaccess.h
ucontext.h
unaligned.h
unified.h
unistd.h
unwind.h
user.h
vfp.h
vfpmacros.h
vga.h
word-at-a-time.h
xor.h