Re: [PATCH] Add FUTEX_CMP_REQUEUE futex op

From: Ulrich Drepper
Date: Fri May 21 2004 - 01:24:34 EST


Andrew Morton wrote:

> Is it safe to go adding a new argument to an existing syscall in this manner?

Yes. This is a multiplexed syscall and the opcode decides which syscall
parameter is used.


> It'll work OK on x86 because of the stack layout but is the same true of
> all other supported architectures?

We add parameters at the end. This does not influence how previous
values are passed. And especially for syscalls it makes no difference.

--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/