tmp_suning_uos_patched/arch
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
..
alpha [PATCH] alpha: set cpu_possible_map much earlier 2006-02-08 07:57:37 -08:00
arm [ARM] 3353/1: NAS100d: protect nas100d_power_exit() with machine_is_nas100d() 2006-03-07 22:48:29 +00:00
arm26 [PATCH] arm26: select BLK_DEV_FD only on A5K 2006-02-01 08:53:22 -08:00
cris [PATCH] fallout from ptrace consolidation patch: cris/arch-v10 2006-02-07 20:57:19 -05:00
frv [PATCH] FRV: Use virtual interrupt disablement 2006-02-14 16:09:35 -08:00
h8300 [PATCH] add missing pm_power_off's 2006-03-06 18:40:44 -08:00
i386 [PATCH] fix kexec asm 2006-03-08 14:15:04 -08:00
ia64 [IA64] Fix race in the accessed/dirty bit handlers 2006-03-08 16:07:55 -08:00
m32r [PATCH] m32r: fix and update for gcc-4.0 2006-02-24 14:31:36 -08:00
m68k [PATCH] m68k: pm_power_off() breakage 2006-02-18 16:30:20 -05:00
m68knommu [PATCH] hrtimer: round up relative start time on low-res arches 2006-02-14 16:09:35 -08:00
mips [MIPS] Use USECS_PER_SEC / HZ instead of tick_usec in do_gettimeofday. 2006-03-01 19:22:22 +00:00
parisc [PATCH] hrtimer: round up relative start time on low-res arches 2006-02-14 16:09:35 -08:00
powerpc ppc64: make sure to align stack pointer to 16 bytes at boot 2006-03-04 15:00:45 -08:00
ppc [PATCH] powerpc: fix altivec_unavailable_exception Oopses 2006-02-24 11:36:23 +11:00
s390 [PATCH] s390: fix strnlen_user return value 2006-03-08 14:14:01 -08:00
sh [PATCH] arch/sh/Kconfig: fix the ISA_DMA_API dependencies 2006-02-17 13:59:26 -08:00
sh64 [PATCH] drive_info removal outside of arch/i386 2006-02-07 20:56:47 -05:00
sparc [SPARC]: sys_newfstatat --> sys_fstatat64 2006-02-12 23:30:11 -08:00
sparc64 [SPARC64]: Mark __ex_table section correctly. 2006-03-04 23:23:56 -08:00
um [PATCH] uml: tidying COW code 2006-02-24 14:31:37 -08:00
v850 [PATCH] add missing pm_power_off's 2006-03-06 18:40:44 -08:00
x86_64 [PATCH] fix kexec asm 2006-03-08 14:15:04 -08:00
xtensa [PATCH] add missing pm_power_off's 2006-03-06 18:40:44 -08:00