diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-10-30 02:16:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 05:40:38 +0100 |
commit | ae859762332f19bfc06f4c4a1b1fefb41e9e1084 (patch) | |
tree | 4f21583bb1441e5555ed199a40d5f679bb4506e9 /kernel/power | |
parent | [PATCH] mm: rss = file_rss + anon_rss (diff) | |
download | linux-ae859762332f19bfc06f4c4a1b1fefb41e9e1084.tar.xz linux-ae859762332f19bfc06f4c4a1b1fefb41e9e1084.zip |
[PATCH] mm: batch updating mm_counters
tlb_finish_mmu used to batch zap_pte_range's update of mm rss, which may be
worthwhile if the mm is contended, and would reduce atomic operations if the
counts were atomic. Let zap_pte_range now batch its updates to file_rss and
anon_rss, per page-table in case we drop the lock outside; and copy_pte_range
batch them too.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions