Revision 48db54ee2f41e8ae2faf330b55db34a9fffb5b3c authored by Minchan Kim on 01 February 2011, 23:52:33 UTC, committed by Linus Torvalds on 03 February 2011, 00:03:18 UTC
If migrate_huge_page by memory-failure fails , it calls put_page in itself to decrease page reference and caller of migrate_huge_page also calls putback_lru_pages. It can do double free of page so it can make page corruption on page holder. In addtion, clean of pages on caller is consistent behavior with migrate_pages by cf608ac19c ("mm: compaction: fix COMPACTPAGEFAILED counting"). Signed-off-by: Minchan Kim <minchan.kim@gmail.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Christoph Lameter <cl@linux.com> 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>
1 parent 57fc4a5
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 3.4 KB |
Makefile | -rw-r--r-- | 388 bytes |
acl.c | -rw-r--r-- | 10.6 KB |
acl.h | -rw-r--r-- | 1.5 KB |
balloc.c | -rw-r--r-- | 61.6 KB |
bitmap.c | -rw-r--r-- | 702 bytes |
dir.c | -rw-r--r-- | 13.6 KB |
ext3_jbd.c | -rw-r--r-- | 1.5 KB |
file.c | -rw-r--r-- | 2.2 KB |
fsync.c | -rw-r--r-- | 2.9 KB |
hash.c | -rw-r--r-- | 4.3 KB |
ialloc.c | -rw-r--r-- | 20.8 KB |
inode.c | -rw-r--r-- | 101.9 KB |
ioctl.c | -rw-r--r-- | 8.2 KB |
namei.c | -rw-r--r-- | 66.8 KB |
namei.h | -rw-r--r-- | 170 bytes |
resize.c | -rw-r--r-- | 34.0 KB |
super.c | -rw-r--r-- | 83.1 KB |
symlink.c | -rw-r--r-- | 1.4 KB |
xattr.c | -rw-r--r-- | 34.5 KB |
xattr.h | -rw-r--r-- | 3.8 KB |
xattr_security.c | -rw-r--r-- | 1.9 KB |
xattr_trusted.c | -rw-r--r-- | 1.5 KB |
xattr_user.c | -rw-r--r-- | 1.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...