[PATCH] um: "borrow" cmpxchg from x86 tree in UML

Anton Ivanov anton.ivanov at cambridgegreys.com
Fri Nov 13 16:41:05 EST 2020


On 13/11/2020 20:21, Johannes Berg wrote:
> On Fri, 2020-11-13 at 17:50 +0000, Anton Ivanov wrote:
>> On 13/11/2020 15:58, Johannes Berg wrote:
>>> On Fri, 2020-11-13 at 13:48 +0000, Anton Ivanov wrote:
>>>> I think that was it. Or to be more exact, I hope that was it.
>>>>
>>>> I went a few times through asm-generic and that looks like all the
>>>> bits which are worth implementing for a uniprocessor architecture as a
>>>> replacement for their generic equivalents.
>>> It seems that word-at-a-time.h with CONFIG_DCACHE_WORD_ACCESS might
>>> be worthwhile as well?
>> I tried it. It had some references to exception handling which are not
>> present in UML so I dropped it for now.
> Oh, right ... I played with that once for something else and couldn't
> figure out how to port it. Oh well.

I did only the low hanging fruit this time :)

This one looked like it needs figuring out a porting strategy so I 
skipped it.

> johannes
>
>
> _______________________________________________
> linux-um mailing list
> linux-um at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-um
>

-- 
Anton R. Ivanov
Cambridgegreys Limited. Registered in England. Company Number 10273661
https://www.cambridgegreys.com/




More information about the linux-um mailing list