diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-10 10:47:45 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-10 10:47:45 -0800 |
commit | 31f8d42d44b48ba72b586ca03e810cbbd21ea16b (patch) | |
tree | ecb5b522d62a4ffbe8b1511baade7e7120a3d8c5 /include/linux/gfp.h | |
parent | ed23ec4f0a510528e0ffe415f9394107418ae854 (diff) | |
download | op-kernel-dev-31f8d42d44b48ba72b586ca03e810cbbd21ea16b.zip op-kernel-dev-31f8d42d44b48ba72b586ca03e810cbbd21ea16b.tar.gz |
Revert "mm: avoid waking kswapd for THP allocations when compaction is deferred or contended"
This reverts commit 782fd30406ecb9d9b082816abe0c6008fc72a7b0.
We are going to reinstate the __GFP_NO_KSWAPD flag that has been
removed, the removal reverted, and then removed again. Making this
commit a pointless fixup for a problem that was caused by the removal of
__GFP_NO_KSWAPD flag.
The thing is, we really don't want to wake up kswapd for THP allocations
(because they fail quite commonly under any kind of memory pressure,
including when there is tons of memory free), and these patches were
just trying to fix up the underlying bug: the original removal of
__GFP_NO_KSWAPD in commit c654345924f7 ("mm: remove __GFP_NO_KSWAPD")
was simply bogus.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/gfp.h')
0 files changed, 0 insertions, 0 deletions