summaryrefslogtreecommitdiffstats
path: root/kernel/rcutorture.c
diff options
context:
space:
mode:
authorDipankar Sarma2005-12-12 09:37:05 +0100
committerLinus Torvalds2005-12-12 17:57:42 +0100
commitab4720ec76b756e1f8705e207a7b392b0453afd6 (patch)
tree1c4235ec8ac0e8e7f75a6f97ea6169e93647004f /kernel/rcutorture.c
parent[PATCH] ext3: fix mount options documentation (diff)
downloadkernel-qcow2-linux-ab4720ec76b756e1f8705e207a7b392b0453afd6.tar.gz
kernel-qcow2-linux-ab4720ec76b756e1f8705e207a7b392b0453afd6.tar.xz
kernel-qcow2-linux-ab4720ec76b756e1f8705e207a7b392b0453afd6.zip
[PATCH] add rcu_barrier() synchronization point
This introduces a new interface - rcu_barrier() which waits until all the RCUs queued until this call have been completed. Reiser4 needs this, because we do more than just freeing memory object in our RCU callback: we also remove it from the list hanging off super-block. This means, that before freeing reiser4-specific portion of super-block (during umount) we have to wait until all pending RCU callbacks are executed. The only change of reiser4 made to the original patch, is exporting of rcu_barrier(). Cc: Hans Reiser <reiser@namesys.com> Cc: Vladimir V. Saveliev <vs@namesys.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/rcutorture.c')
0 files changed, 0 insertions, 0 deletions