diff options
| author | Jacobo Giralt <[email protected]> | 2012-01-10 15:07:11 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-01-10 16:30:41 -0800 |
| commit | 937a94c9db30a818baa5e2c09dbf4589251355c3 (patch) | |
| tree | c038d9689edf1f03467227959f66c3ef750a9572 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 90a5d5af74f6570af063fb6bff33c6b2f8361bbc (diff) | |
mm: migrate: one less atomic operation
migrate_page_move_mapping() drops a reference from the old page after
unfreezing its counter. Both operations can be merged into a single
atomic operation by directly unfreezing to one less reference.
The same applies to migrate_huge_page_move_mapping().
Signed-off-by: Jacobo Giralt <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Johannes Weiner <[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