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>
Thu, 8 Nov 2012 19:50:15 +0000 (11:50 -0800)
commit374b928ee8061fdbb0b527fb3924080ba2437767
tree7e1cc1bd9b8747e87413585ef1cb79196a550b59
parent573bcd40d221bd6d7cebf27dee120bd242f5feb5
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