On 18 Jul 01 at 23:54, David Woodhouse wrote:
> Not all architectures put clear_bit et al in asm/bitops.h in a form which
> is usable from userspace. Yet because it happens to work on a PeeCee,
> people do it anyway.
Please do not do this. At least ncpfs checks for usability of these
ops from its configure script, and if they are not available/usable,
it reverts to pthread mutex based implementation, which is slower
dozen of times. Same applies for atomic_* functions.
I think that you should complain to userspace authors who do not
check for bitops existence and not force other to distrbute 8+ versions
of bitops.h with their application, together with infrastructure for
selecting correct version...
Just my 0.02c.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:11 EST