d8117ce5a6
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> |
||
---|---|---|
.. | ||
cpufreq | ||
Makefile | ||
acpi-ext.c | ||
acpi-processor.c | ||
acpi.c | ||
asm-offsets.c | ||
brl_emu.c | ||
cyclone.c | ||
efi.c | ||
efi_stub.S | ||
entry.S | ||
entry.h | ||
fsys.S | ||
gate-data.S | ||
gate.S | ||
gate.lds.S | ||
head.S | ||
ia64_ksyms.c | ||
init_task.c | ||
iosapic.c | ||
irq.c | ||
irq_ia64.c | ||
irq_lsapic.c | ||
ivt.S | ||
jprobes.S | ||
kprobes.c | ||
machvec.c | ||
mca.c | ||
mca_asm.S | ||
mca_drv.c | ||
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 | ||
salinfo.c | ||
semaphore.c | ||
setup.c | ||
sigframe.h | ||
signal.c | ||
smp.c | ||
smpboot.c | ||
sys_ia64.c | ||
time.c | ||
topology.c | ||
traps.c | ||
unaligned.c | ||
uncached.c | ||
unwind.c | ||
unwind_decoder.c | ||
unwind_i.h | ||
vmlinux.lds.S |