[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 Thursday, 2010-6-17 4:30 PM, Jan Beulich wrote: >>>> 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. Good suggestion, I will add it. Jimmy _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |