]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Fundamental facility for 'CPU units sequence reading'
authorMichael Wang <wangyun@linux.vnet.ibm.com>
Thu, 20 Sep 2012 00:51:03 +0000 (08:51 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 23 Oct 2012 21:58:41 +0000 (14:58 -0700)
commitd5302fa67cf8bca0b3f1314e0391cff116115bb7
tree1e0fef7ceb5b70317b481db625987ea29048d8ea
parentb1135aec637c3b86d8a94e96b04c24c276dde387
rcu: Fundamental facility for 'CPU units sequence reading'

This patch add the fundamental facility used by the following patches, so we
can implement the 'CPU units sequence reading' later.

This helps us avoid losing data when there are too many CPUs and too
small of a buffer, since this new approach allows userspace to read out
the data one CPU at a time.  Thus, if the buffer is not large enough,
userspace will get whatever CPUs fit, and can then issue another read
for the remainder of the data.

Signed-off-by: Michael Wang <wangyun@linux.vnet.ibm.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree_trace.c