commit | a6aa62a0909b9ccb1f8b0d2653920ba071037972 | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@suse.de> | Tue Jul 20 13:24:25 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jul 20 16:25:40 2010 -0700 |
tree | 2df66e9a20cdb8fac10a1979c6b678e98ee67f0a | |
parent | c61284e99191b2284fb74dae6961d4d09e4e59e8 [diff] |
mm/vmscan.c: fix mapping use after free We need lock_page_nosync() here because we have no reference to the mapping when taking the page lock. Signed-off-by: Nick Piggin <npiggin@suse.de> Reviewed-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>