On 23/10/14 09:36, Richard Weinberger wrote:
> Anton,
>
> Am 23.10.2014 um 09:34 schrieb Anton Ivanov:
>> Hi Richard,
>>
>> I have had a question in my mind on this for quite a while around this bug 
>> (and a quite a few others).
> Fell free to ask, I'll try hand to find time to answer.
>
>> UML by the nature of being UP includes the generic spinlock definition for 
>> UP which does very little if any.
> Correct. IIRC they are a NOP on UML as it does not support preemption.
>
>> How exactly does this work on a multicore host if you have a different 
>> thread hitting the same critical section and that thread is running on a 
>> different core? Isn't that
>> effectively a form of weird SMP (which in turn requires stricter locking). 
>> Am I missing something here?
> >From the host side of view the UML kernel a single process and therefore 
> >there is no parallel execution at all.
>
> Does this help?

That is what I have always thought as well.

Just checking that I am not missing something, thanks.

A.
>
> Thanks,
> //richard
>
> ------------------------------------------------------------------------------
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


------------------------------------------------------------------------------
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to