From: Peter Zijlstra Date: Mon, 19 Nov 2012 02:14:23 +0000 (+0100) Subject: mm: Count the number of pages affected in change_protection() X-Git-Tag: v3.8-rc1~92^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7da4d641c58d201c3cc1835c05ca1a7fa26f0856;p=pandora-kernel.git mm: Count the number of pages affected in change_protection() This will be used for three kinds of purposes: - to optimize mprotect() - to speed up working set scanning for working set areas that have not been touched - to more accurately scan per real working set No change in functionality from this patch. Suggested-by: Ingo Molnar Signed-off-by: Peter Zijlstra Cc: Linus Torvalds Cc: Andrew Morton Cc: Andrea Arcangeli Cc: Rik van Riel Cc: Mel Gorman Cc: Hugh Dickins Cc: Thomas Gleixner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed