diff options
| author | Namhyung Kim <namhyung@gmail.com> | 2011-03-23 02:32:45 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-23 03:44:02 +0300 |
| commit | 1d16871d8c96deadc5f9753b6b096074f2cbcbe1 (patch) | |
| tree | 9f3f0c5a60e7a5bf4bfa9f2bd4c9492db36cecfe /tools/perf/scripts/python | |
| parent | e64a782fec684c29a8204c51b3cb554dce588592 (diff) | |
| download | linux-1d16871d8c96deadc5f9753b6b096074f2cbcbe1.tar.xz | |
mm: batch-free pcp list if possible
free_pcppages_bulk() frees pages from pcp lists in a round-robin fashion
by keeping batch_free counter. But it doesn't need to spin if there is
only one non-empty list. This can be checked by batch_free ==
MIGRATE_PCPTYPES.
[akpm@linux-foundation.org: fix comment]
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
