diff options
| author | Mel Gorman <[email protected]> | 2009-06-16 15:32:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-06-16 19:47:33 -0700 |
| commit | 3dd2826698b6902aafd9441ce28ebb44735fd0d6 (patch) | |
| tree | c9bda4a84a0545d4acf41123072fd018100e63f8 /tools/perf/scripts/python | |
| parent | 5117f45d11a9ee62d9b086f1312f3f31781ff155 (diff) | |
page allocator: calculate the migratetype for allocation only once
GFP mask is converted into a migratetype when deciding which pagelist to
take a page from. However, it is happening multiple times per allocation,
at least once per zone traversed. Calculate it once.
Signed-off-by: Mel Gorman <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Lee Schermerhorn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions