Re: PI mutex support on ARM

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

 



Hi,

Remy Bohmer <l.pinguin <at> gmail.com> writes:

> 
> Hello Thomas,
> 
> I have build an implementation for the routine
> futex_atomic_cmpxchg_inatomic() to make PTHREAD_PRIO_INHERIT mutex
> work on ARM.
> Compared to other architectures where CPU specific assembler is used,
> it is probably not the most optimal implementation possible, but I
> tested it successfully on a Atmel AT91RM9200 core, and it could work
> on other (UP) architectures as well.
> 
> What do you think of it?
> Or do you know a better solution?

May be you could have a look at __kuser_cmpxchg (arch/arm/kernel/entry-armv.S).
There stuff for smp for armv6 and newer.
For armv5 and older, maybe masking interrupt is the best solution.


But I believe you should CC arm linux mailling list. You should find more arm
expert :)


Matthieu

-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux