summaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2012-11-29 22:54:20 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-11-30 17:51:17 +0100
commit58d002097b98664e2a39cc708f30d11549d870b2 (patch)
treeadc25d498f5ff8ffe780080831ab7d896c1ea15e /mm/sparse.c
parentfutex: avoid wake_futex() for a PI futex_q (diff)
downloadlinux-58d002097b98664e2a39cc708f30d11549d870b2.tar.xz
linux-58d002097b98664e2a39cc708f30d11549d870b2.zip
mm: compaction: fix return value of capture_free_page()
Commit ef6c5be658f6 ("fix incorrect NR_FREE_PAGES accounting (appears like memory leak)") fixes a NR_FREE_PAGE accounting leak but missed the return value which was also missed by this reviewer until today. That return value is used by compaction when adding pages to a list of isolated free pages and without this follow-up fix, there is a risk of free list corruption. Signed-off-by: Mel Gorman <mgorman@suse.de> Cc: Dave Hansen <dave@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions