-
- Downloads
[PATCH] mm: migration page refcounting fix
Migration code currently does not take a reference to target page properly, so between unlocking the pte and trying to take a new reference to the page with isolate_lru_page, anything could happen to it. Fix this by holding the pte lock until we get a chance to elevate the refcount. Other small cleanups while we're here. Signed-off-by:Nick Piggin <npiggin@suse.de> Signed-off-by:
Christoph Lameter <clameter@sgi.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- include/linux/mm_inline.h 0 additions, 21 deletionsinclude/linux/mm_inline.h
- include/linux/swap.h 1 addition, 0 deletionsinclude/linux/swap.h
- mm/filemap.c 1 addition, 0 deletionsmm/filemap.c
- mm/mempolicy.c 17 additions, 12 deletionsmm/mempolicy.c
- mm/rmap.c 1 addition, 1 deletionmm/rmap.c
- mm/swap.c 26 additions, 0 deletionsmm/swap.c
- mm/vmscan.c 30 additions, 41 deletionsmm/vmscan.c
Loading
Please register or sign in to comment