tech-kern archive

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

Re: wrapping (some) ipis in arch/x86/



On 13 August 2011 11:26, Christos Zoulas <christos%astron.com@localhost> wrote:
> In article <8762m4qlm8.fsf%zyx.in@localhost>, Cherry G. Mathew 
>  <cherry%zyx.in@localhost> wrote:
>>ftp://ftp.netbsd.org/pub/NetBSD/misc/cherry/tmp/wrap_ipi.diff
>>
>>Hi,
>>
>>I'd like to ask peoples' opinions about the above patch. This would
>>remove a couple of #ifdef XEN/#endif pairs I had to introduce
>>lately.
>
> If those are performance critical, perhaps they should be inlined?


I don't think they are - the first is a HALT ipi and the second
"kicks" other sleeping CPUS via cpu_needs_resched()

-- 
~Cherry


Home | Main Index | Thread Index | Old Index