From mboxrd@z Thu Jan 1 00:00:00 1970 From: j.neuschaefer@gmx.net (Jonathan =?utf-8?Q?Neusch=C3=A4fer?=) Date: Wed, 21 Dec 2011 19:51:06 +0100 Subject: Question about RCU In-Reply-To: References: Message-ID: <20111221185106.GA1513@debian.debian> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Sat, Dec 17, 2011 at 07:15:30PM -0500, contemplating zombie wrote: > Hi, > > I understand that multiple readers have to use rcu_read_lock(void) and > rcu_read_unlock(void) to read data protected by rcu. However, I do not > understand how the kernel distinguishes between multiple rcu protected > regions. It doesn't. Have you read Documentation/RCU/whatisRCU.txt? Thanks, Jonathan Neusch?fer