Re: rcu_read_unlock() in the nestable rcu based on free-running counter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Paul,

On Wed, Feb 11, 2015 at 8:21 AM, Paul E. McKenney
<paulmck@xxxxxxxxxxxxxxxxxx> wrote:
> On Tue, Feb 10, 2015 at 10:42:40AM +0900, Namhyung Kim wrote:
>> Hi,
>>
>> It says "Interestingly enough, the implementation of rcu_read_unlock()
>> is identical to that shown in Section 'RCU based on free-running
>> counter'".  However it seems not.. ;-)
>
> Indeed!  How about the following?  (And good catch, by the way!)
>
>                                                         Thanx, Paul
>
> ------------------------------------------------------------------------
>
> Interestingly enough, despite their rcu_read_lock() differences, the
> implementation of rcu_read_unlock() is broadly similar to that shown in
> Section 9.3.5.7.

Looks good to me!

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux