]> git.baikalelectronics.ru Git - kernel.git/commit
lib: percpu_counter variable batch
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 17 Oct 2007 06:25:43 +0000 (23:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:44 +0000 (08:42 -0700)
commite3c0be5fa8071e88f6145bd3fd9e2a5b45e8cb0a
treef21bcd6994b65ba947b41ae7d2519a960185a029
parentb98acae8f8d9d7d98d0a1f36c0a07df35bf898d1
lib: percpu_counter variable batch

Because the current batch setup has an quadric error bound on the counter,
allow for an alternative setup.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/percpu_counter.h
lib/percpu_counter.c