From: Andrew Morton Date: Wed, 8 Mar 2006 05:55:31 +0000 (-0800) Subject: [PATCH] percpu_counter_sum() X-Git-Tag: v2.6.16-rc6~70 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2bab3d92486fb781f4d06f56339264ed1492392;p=pandora-kernel.git [PATCH] percpu_counter_sum() Implement percpu_counter_sum(). This is a more accurate but slower version of percpu_counter_read_positive(). We need this for Alex's speedup-ext3_statfs patch and for the nr_file accounting fix. Otherwise these things would be too inaccurate on large CPU counts. Cc: Ravikiran G Thirumalai Cc: Alex Tomas Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed