linux-stable-rt/arch/ia64/kernel
Christoph Lameter d8117ce5a6 [IA64] Fix race in the accessed/dirty bit handlers
A pte may be zapped by the swapper, exiting process, unmapping or page
migration while the accessed or dirty bit handers are about to run. In that
case the accessed bit or dirty is set on an zeroed pte which leads the VM to
conclude that this is a swap pte. This may lead to

- Messages from the vm like

swap_free: Bad swap file entry 4000000000000000

- Processes being aborted

swap_dup: Bad swap file entry 4000000000000000
VM: killing process ....

Page migration is particular suitable for the creation of this race since
it needs to remove and restore page table entries.

The fix here is to check for the present bit and simply not update
the pte if the page is not present anymore. If the page is not present
then the fault handler should run next which will take care of the problem
by bringing the page back and then mark the page dirty or move it onto the
active list.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2006-03-08 16:07:55 -08:00
..
cpufreq
Makefile
acpi-ext.c
acpi-processor.c
acpi.c [IA64] Count disabled cpus as potential hot-pluggable CPUs 2006-02-16 14:10:50 -08:00
asm-offsets.c
brl_emu.c
cyclone.c [IA64] don't report !sn2 or !summit hardware as an error 2006-03-07 15:26:49 -08:00
efi.c [IA64] Fix wrong use of memparse in efi.c 2006-02-07 14:13:09 -08:00
efi_stub.S
entry.S [IA64] Missing check for TIF_WORK if trace/audit enabled 2006-02-16 10:20:08 -08:00
entry.h
fsys.S [IA64] cleanup in fsys.S 2006-02-28 08:53:32 -08:00
gate-data.S
gate.S
gate.lds.S
head.S [IA64] Fix CONFIG_PRINTK_TIME 2006-02-07 15:25:57 -08:00
ia64_ksyms.c [IA64] Remove duplicate EXPORT_SYMBOLs 2006-02-15 13:23:32 -08:00
init_task.c
iosapic.c
irq.c
irq_ia64.c
irq_lsapic.c
ivt.S [IA64] Fix race in the accessed/dirty bit handlers 2006-03-08 16:07:55 -08:00
jprobes.S
kprobes.c
machvec.c
mca.c
mca_asm.S
mca_drv.c [IA64] mca recovery return value when no bus check 2006-03-07 15:40:06 -08:00
mca_drv.h
mca_drv_asm.S
minstate.h
module.c
numa.c
pal.S
palinfo.c
patch.c
perfmon.c
perfmon_default_smpl.c
perfmon_generic.h
perfmon_itanium.h
perfmon_mckinley.h
perfmon_montecito.h
process.c
ptrace.c
sal.c [IA64] avoid broken SAL_CACHE_FLUSH implementations 2006-02-02 13:25:54 -08:00
salinfo.c
semaphore.c
setup.c [IA64] Count disabled cpus as potential hot-pluggable CPUs 2006-02-14 15:37:58 -08:00
sigframe.h
signal.c
smp.c
smpboot.c [IA64] Dont set NR_CPUS for cpu_possible_map when CPU hotplug is enabled. 2006-02-14 15:35:10 -08:00
sys_ia64.c
time.c [IA64] ia64: simplify and fix udelay() 2006-02-15 13:37:04 -08:00
topology.c [PATCH] Export cpu topology in sysfs 2006-02-03 08:32:09 -08:00
traps.c [IA64] support panic_on_oops sysctl 2006-02-15 15:16:50 -08:00
unaligned.c [IA64] sysctl option to silence unaligned trap warnings 2006-02-28 09:42:23 -08:00
uncached.c
unwind.c
unwind_decoder.c
unwind_i.h
vmlinux.lds.S