kernel-ark/arch/ppc64/kernel
Nick Piggin b5810039a5 [PATCH] core remove PageReserved
Remove PageReserved() calls from core code by tightening VM_RESERVED
handling in mm/ to cover PageReserved functionality.

PageReserved special casing is removed from get_page and put_page.

All setting and clearing of PageReserved is retained, and it is now flagged
in the page_alloc checks to help ensure we don't introduce any refcount
based freeing of Reserved pages.

MAP_PRIVATE, PROT_WRITE of VM_RESERVED regions is tentatively being
deprecated.  We never completely handled it correctly anyway, and is be
reintroduced in future if required (Hugh has a proof of concept).

Once PageReserved() calls are removed from kernel/power/swsusp.c, and all
arch/ and driver code, the Set and Clear calls, and the PG_reserved bit can
be trivially removed.

Last real user of PageReserved is swsusp, which uses PageReserved to
determine whether a struct page points to valid memory or not.  This still
needs to be addressed (a generic page_is_ram() should work).

A last caveat: the ZERO_PAGE is now refcounted and managed with rmap (and
thus mapcounted and count towards shared rss).  These writes to the struct
page could cause excessive cacheline bouncing on big systems.  There are a
number of ways this could be addressed if it is an issue.

Signed-off-by: Nick Piggin <npiggin@suse.de>

Refcount bug fix for filemap_xip.c

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-29 21:40:39 -07:00
..
vdso32 [PATCH] ppc64: Fix error in vDSO 32 bits date 2005-10-19 23:04:30 -07:00
vdso64
align.c
asm-offsets.c
binfmt_elf32.c
bitops.c
bpa_iic.c
bpa_iic.h
bpa_iommu.c
bpa_iommu.h
bpa_nvram.c
bpa_setup.c
btext.c
cpu_setup_power4.S
cputable.c
dma.c
eeh.c
entry.S
firmware.c
head.S
HvCall.c
hvCall.S
hvconsole.c
hvcserver.c
HvLpConfig.c
HvLpEvent.c
i8259.c
i8259.h
idle_power4.S
idle.c
init_task.c
ioctl32.c
iomap.c
iommu.c
irq.c
iSeries_htab.c [PATCH] ppc64: Fix typo bug in iSeries hash code 2005-10-21 12:24:41 -07:00
iSeries_iommu.c
iSeries_irq.c
iSeries_pci.c
iSeries_proc.c
iSeries_setup.c
iSeries_setup.h
iSeries_smp.c
iSeries_vio.c
iSeries_VpdInfo.c
ItLpQueue.c
kprobes.c
lmb.c
lparcfg.c
LparData.c
lparmap.c
machine_kexec.c
Makefile
maple_pci.c
maple_setup.c
maple_time.c
mf.c
misc.S
module.c [PATCH] ppc64: Add R_PPC64_TOC16 module reloc 2005-10-11 09:46:54 -07:00
mpic.c [PATCH] ppc64: Fix wrong register mapping in mpic driver 2005-10-26 10:39:43 -07:00
mpic.h
nvram.c
of_device.c
pacaData.c
pci_direct_iommu.c
pci_dn.c
pci_iommu.c
pci.c
pci.h
pmac_feature.c
pmac_low_i2c.c
pmac_nvram.c
pmac_pci.c
pmac_setup.c [PATCH] ppc64: Fix G5 model in /proc/cpuinfo 2005-10-14 17:10:12 -07:00
pmac_smp.c
pmac_time.c
pmac.h
pmc.c
ppc_ksyms.c
proc_ppc64.c
process.c
prom_init.c
prom.c
pSeries_hvCall.S
pSeries_iommu.c
pSeries_lpar.c
pSeries_nvram.c
pSeries_pci.c
pSeries_reconfig.c
pSeries_setup.c
pSeries_smp.c
pSeries_vio.c
ptrace32.c
ptrace.c
ras.c
rtas_flash.c
rtas_pci.c
rtas-proc.c
rtas.c
rtasd.c
rtc.c
scanlog.c
semaphore.c
setup.c
signal32.c
signal.c
smp-tbsync.c
smp.c
spider-pic.c
sys_ppc32.c
syscalls.c
sysfs.c
time.c [PATCH] ppc64: Fix typo in time calculations 2005-10-21 12:17:43 -07:00
traps.c
u3_iommu.c
udbg_16550.c
udbg_scc.c
udbg.c
vdso.c [PATCH] core remove PageReserved 2005-10-29 21:40:39 -07:00
vecemu.c
vector.S
vio.c
viopath.c
vmlinux.lds.S
xics.c