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

Johannes Berg johannes at sipsolutions.net
Fri Nov 13 15:21:14 EST 2020


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.

johannes




More information about the linux-um mailing list