diff options
author | Mel Gorman <mel@csn.ul.ie> | 2007-10-16 01:25:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:42:59 -0700 |
commit | e2c55dc87f4a398b9c4dcc702dbc23a07fe14e23 (patch) | |
tree | b3811de298d4c98c4765db4af3838428553b5382 /fs/jbd | |
parent | b92a6edd4b77a8794adb497280beea5df5e59a14 (diff) | |
download | kernel_samsung_smdk4412-e2c55dc87f4a398b9c4dcc702dbc23a07fe14e23.zip kernel_samsung_smdk4412-e2c55dc87f4a398b9c4dcc702dbc23a07fe14e23.tar.gz kernel_samsung_smdk4412-e2c55dc87f4a398b9c4dcc702dbc23a07fe14e23.tar.bz2 |
Drain per-cpu lists when high-order allocations fail
Per-cpu pages can accidentally cause fragmentation because they are free, but
pinned pages in an otherwise contiguous block. When this patch is applied,
the per-cpu caches are drained after the direct-reclaim is entered if the
requested order is greater than 0. It simply reuses the code used by suspend
and hotplug.
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/jbd')
0 files changed, 0 insertions, 0 deletions