diff options
| author | Mel Gorman <[email protected]> | 2014-01-23 15:53:38 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-01-23 16:36:53 -0800 |
| commit | 6c14466cc00ff13121ae782d33d9df0fde20b124 (patch) | |
| tree | 65cf09a45f47de60638fdd1fe3140f9b8bdc27b9 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 0eef615665ede1e0d603ea9ecca88c1da6f02234 (diff) | |
mm: improve documentation of page_order
Developers occasionally try and optimise PFN scanners by using
page_order but miss that in general it requires zone->lock. This has
happened twice for compaction.c and rejected both times. This patch
clarifies the documentation of page_order and adds a note to
compaction.c why page_order is not used.
[[email protected]: tweaks]
[[email protected]: Corrected a page_zone(page)->lock reference]
Signed-off-by: Mel Gorman <[email protected]>
Acked-by: Rafael Aquini <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Cc: Laura Abbott <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions