From: David Rientjes Date: Wed, 21 Mar 2012 23:34:13 +0000 (-0700) Subject: mm, counters: remove task argument to sync_mm_rss() and __sync_task_rss_stat() X-Git-Tag: v3.4-rc1~158^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05af2e104a0c282dcd9303431e1360750ba76de6;p=pandora-kernel.git mm, counters: remove task argument to sync_mm_rss() and __sync_task_rss_stat() sync_mm_rss() can only be used for current to avoid race conditions in iterating and clearing its per-task counters. Remove the task argument for it and its helper function, __sync_task_rss_stat(), to avoid thinking it can be used safely for anything other than current. Signed-off-by: David Rientjes Acked-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed