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

Re: [Xen-devel] 答复: 答复: [PATCH v2] x86/hpet: Fix possible ASSERT(cpu < nr_cpu_ids)



>>> On 19.04.18 at 10:56, <DavidWang@xxxxxxxxxxx> wrote:
> Jan , thank you for your explanation. 
> Your mean : To avoid  evaluating the cpumask twice in hpet_detach_channel(), 
> use a local variable  to hold the result of cpumask_first(). Then  
> cpumask_empty() could be  replaced  by comparing the value of variable and 
> nr_cpu_ids.
> 
> I understand it right?

Yes.

But please stop top-posting.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.