Revision e0c23279c9f800c403f37511484d9014ac83adec authored by Mel Gorman on 01 November 2011, 00:09:33 UTC, committed by Linus Torvalds on 01 November 2011, 00:30:50 UTC
If compaction can proceed, shrink_zones() stops doing any work but its callers still call shrink_slab() which raises the priority and potentially sleeps. This is unnecessary and wasteful so this patch aborts direct reclaim/compaction entirely if compaction can proceed. Signed-off-by: Mel Gorman <mgorman@suse.de> Acked-by: Rik van Riel <riel@redhat.com> Reviewed-by: Minchan Kim <minchan.kim@gmail.com> Acked-by: Johannes Weiner <jweiner@redhat.com> Cc: Josh Boyer <jwboyer@redhat.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e0887c1
File | Mode | Size |
---|---|---|
apei | ||
debug.txt | -rw-r--r-- | 5.6 KB |
dsdt-override.txt | -rw-r--r-- | 247 bytes |
method-customizing.txt | -rw-r--r-- | 3.1 KB |
method-tracing.txt | -rw-r--r-- | 798 bytes |
Computing file changes ...