On Sat, Jul 14, 2001 at 12:53:12PM +0200, Ralf Baechle wrote:
> On Fri, Jul 13, 2001 at 12:52:55PM +0200, Maciej W. Rozycki wrote:
> > > There is a bunch of patches for ll/sc and MIPS_ATOMIC_SET floating around.
> > > I came to the conclusion that I don't like any of them so I'm just working
> > > on fixing the thing once and for all.
> > What about the _test_and_set syscall? Having it implemented we could get
> > rid of the MIPS_ATOMIC_SET hack for post-2.4. Glibc may be made ready for
> > the transition any time now.
> I'm just making an attempt to re-implement the ll/sc emulation as light
> as possible. I hope to get the overhead down to the point were we don't
> need _test_and_set anymore - in any case below the overhead of a syscall.
That is really cool.
For compatibility reasons, I assume we still keep sysmips() around
for a while, right? And if that is yes, we better take either flo's or
my fix (derived from Maceij's new syscall) to get rid of the illegal
instruction bug, which really becomes an untolerable FAQ now.