[bhavesh@avaya.com] libc/3259: semctl on PPC barfs expecting optional 4th argument

Ulrich Drepper drepper@redhat.com
Mon Apr 15 10:33:00 GMT 2002


On Mon, 2002-04-15 at 05:57, Franz Sirl wrote:

> I guess, probably semctl.c should be 
> rewritten to only do va_arg if the IPC code needs the 4th argument.

Contributions welcome.

> Also there seem to be way to many semctl.c in the tree, why do we have a 
> lot of linux/<cpu>/semctl.c including linux/i386/semctl.c when there is a 
> generic linux/semctl.c?

The kernel side is a mess with differences among the architectures which
make it hard to have a single, optimized user-level implementation.  If
you want to take a look at this you're welcome.  But be aware that each
implementation should be at least as efficient at runtime as the current
code.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020415/5048358f/attachment.sig>


More information about the Libc-alpha mailing list