diff options
author | Andrew Morton <akpm@osdl.org> | 2006-03-07 21:55:31 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-08 14:14:01 -0800 |
commit | e2bab3d92486fb781f4d06f56339264ed1492392 (patch) | |
tree | 0295e1ed29794a8e804c4e28a3ea9e72777e533b /net | |
parent | b884e25784f62a1c740d2e4c1ce19cb89644e986 (diff) | |
download | linux-3.10-e2bab3d92486fb781f4d06f56339264ed1492392.tar.gz linux-3.10-e2bab3d92486fb781f4d06f56339264ed1492392.tar.bz2 linux-3.10-e2bab3d92486fb781f4d06f56339264ed1492392.zip |
[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 <kiran@scalex86.org>
Cc: Alex Tomas <alex@clusterfs.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions