]> 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>
Sat, 27 Oct 2012 22:52:06 +0000 (15:52 -0700)
commit5700cb30f7e242f7a361624ac79dfb2f9fd8d63f
treed04177aee070c2e5f8a26061c14aea1e5b746b79
parent9c81f6ab4beb5c44152535ec9a3f1737df20ecbe
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