From: Hugh Dickins Date: Sun, 30 Oct 2005 01:16:05 +0000 (-0700) Subject: [PATCH] mm: batch updating mm_counters X-Git-Tag: v2.6.15-rc1~730^2^2~59 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae859762332f19bfc06f4c4a1b1fefb41e9e1084;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed