https://github.com/torvalds/linux
Revision 58d002097b98664e2a39cc708f30d11549d870b2 authored by Mel Gorman on 29 November 2012, 21:54:20 UTC, committed by Linus Torvalds on 30 November 2012, 16:51:17 UTC
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>
1 parent aa10990
Raw File
Tip revision: 58d002097b98664e2a39cc708f30d11549d870b2 authored by Mel Gorman on 29 November 2012, 21:54:20 UTC
mm: compaction: fix return value of capture_free_page()
Tip revision: 58d0020
Kconfig
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration"

config SRCARCH
	string
	option env="SRCARCH"

source "arch/$SRCARCH/Kconfig"
back to top