diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-10-29 18:16:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-29 21:40:38 -0700 |
commit | ae859762332f19bfc06f4c4a1b1fefb41e9e1084 (patch) | |
tree | 4f21583bb1441e5555ed199a40d5f679bb4506e9 /usr | |
parent | 4294621f41a85497019fae64341aa5351a1921b7 (diff) | |
download | op-kernel-dev-ae859762332f19bfc06f4c4a1b1fefb41e9e1084.zip op-kernel-dev-ae859762332f19bfc06f4c4a1b1fefb41e9e1084.tar.gz |
[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 'usr')
0 files changed, 0 insertions, 0 deletions