.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "CALL_RCU" "" "06 October 2005" "" ""
.SH NAME
call_rcu \- Queue an RCU update request.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void call_rcu (struct rcu_head * \fIhead\fB, void (*\fIfunc\fB)
void *arg, void * \fIarg\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIhead\fB\fR
structure to be used for queueing the RCU updates.
.TP
\fB\fIfunc\fB\fR
actual update function to be invoked after the grace period
.TP
\fB\fIarg\fB\fR
argument to be passed to the update function
.SH "DESCRIPTION"
.PP
The update function will be invoked as soon as all CPUs have performed
a context switch or been seen in the idle loop or in a user process.
The read-side of critical section that use \fBcall_rcu\fR for updation must
be protected by \fBrcu_read_lock\fR/\fBrcu_read_unlock\fR\&.