From: Vlastimil Babka Date: Wed, 11 Sep 2013 21:22:30 +0000 (-0700) Subject: mm: munlock: batch NR_MLOCK zone state updates X-Git-Tag: v3.12-rc1~52^2~189 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ebb7cc6a58321a4b22c4c9097b4651b0ab859d0;p=pandora-kernel.git mm: munlock: batch NR_MLOCK zone state updates Depending on previous batch which introduced batched isolation in munlock_vma_range(), we can batch also the updates of NR_MLOCK page stats. After the whole pagevec is processed for page isolation, the stats are updated only once with the number of successful isolations. There were however no measurable perfomance gains. Signed-off-by: Vlastimil Babka Reviewed-by: Jörn Engel Acked-by: Mel Gorman Cc: Michel Lespinasse Cc: Hugh Dickins Cc: Rik van Riel Cc: Johannes Weiner Cc: Michal Hocko Cc: Vlastimil Babka Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed