diff options
| author | Mel Gorman <[email protected]> | 2015-06-30 14:57:09 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-06-30 19:44:56 -0700 |
| commit | 54608c3f3a448f1e042f5d9f3b873cc8dc022f27 (patch) | |
| tree | 410305a0ade6719f350a8c5f2456cec85c4e462a /tools/perf/scripts/python | |
| parent | 7e18adb4f80bea90d30b62158694d97c31f71d37 (diff) | |
mm: meminit: minimise number of pfn->page lookups during initialisation
Deferred struct page initialisation is using pfn_to_page() on every PFN
unnecessarily. This patch minimises the number of lookups and scheduler
checks.
Signed-off-by: Mel Gorman <[email protected]>
Tested-by: Nate Zimmer <[email protected]>
Tested-by: Waiman Long <[email protected]>
Tested-by: Daniel J Blueman <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Cc: Robin Holt <[email protected]>
Cc: Nate Zimmer <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: Scott Norton <[email protected]>
Cc: "Luck, Tony" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Thomas Gleixner <[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