atomic operations in user space
DaveLiu at freescale.com
Tue Aug 29 19:20:35 EST 2006
> > 2) These mutexes are based on futexes which requires atomic
> > operations in userspace. These are available on most architectures.
> > the glibc code in
> > nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h for instance.
> > Use that and your PPC manual to implement your atomic operations.
> No matter semaphore or futex, it uses system calls to kernel. And the
> true atomic operation is in kernel not user space. Maybe
> it's feasible
> for other architectures to do atomic operations directly in
> user space.
> IMHO, not for powerpc.
Are you meaning that we didn't do atomic operations directly in user
on powerpc platform ?
More information about the Linuxppc-embedded