[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH6/6] cpuidle: redefine cpumask_lock as rwlock_t
>>> On 17.06.10 at 09:38, "Wei, Gang" <gang.wei@xxxxxxxxx> wrote: > cpuidle: redefine cpumask_lock as rwlock_t > > Multiple cpus clear hpet channel cpumask simultaneously is ok. So we can > change the cpumask_lock to rwlock_t. Now this I think really needs a comment in the code: You use a read lock on the writer side and a write lock on the reader side - quite the opposite of normal behavior. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |