diff options
author | Mel Gorman <mgorman@techsingularity.net> | 2016-07-29 01:47:11 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-29 02:07:41 +0300 |
commit | 68eb0731c4ce1d64aa59b244abae4e72300719b6 (patch) | |
tree | dc329c475c55c891607a9aba19ba58ee26f40b7c /include/acpi | |
parent | 9cb937e2195bc46aa3f21c50f78ee994bbf6e04a (diff) | |
download | linux-68eb0731c4ce1d64aa59b244abae4e72300719b6.tar.xz |
mm, pagevec: release/reacquire lru_lock on pgdat change
With node-lru, the locking is based on the pgdat. Previously it was
required that a pagevec drain released one zone lru_lock and acquired
another zone lru_lock on every zone change. Now, it's only necessary if
the node changes. The end-result is fewer lock release/acquires if the
pages are all on the same node but in different zones.
Link: http://lkml.kernel.org/r/1468588165-12461-4-git-send-email-mgorman@techsingularity.net
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Minchan Kim <minchan@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions