summaryrefslogtreecommitdiff
path: root/ipc/util.h
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2006-01-19 01:42:27 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-19 03:20:17 (GMT)
commit053837fce7aa79025ed57656855df09f80175527 (patch)
tree05d7615894131a368fc4943f641b11acdd2ae694 /ipc/util.h
parente236a166b2bc437769a9b8b5d19186a3761bde48 (diff)
downloadlinux-053837fce7aa79025ed57656855df09f80175527.tar.xz
[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>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions