]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: remove __GFP_NO_KSWAPD fixes
authorRik van Riel <riel@redhat.com>
Tue, 14 Aug 2012 03:22:33 +0000 (13:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 24 Aug 2012 06:43:48 +0000 (16:43 +1000)
commitb6beae2c2014d78fb3d47e215a0655939107edfc
tree15ea3ab99b2e48eaaccef0eb7775e8a61ae19fcd
parentba099ef165f876ab00349277a04467e8c8563316
mm: remove __GFP_NO_KSWAPD fixes

Turns out I missed two spots where __GFP_NO_KSWAPD is used.

The removal from the trace code is obvious, since the flag
got removed there is no need to print it.

For mtdcore.c, now that memory compaction has been fixed, we should no
longer see large swap storms from an attempt to allocate a large buffer,
removing the need to specify __GFP_NO_KSWAPD.

Signed-off-by: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: David Woodhouse <David.Woodhouse@intel.com>
Cc: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/mtd/mtdcore.c
include/trace/events/gfpflags.h