lkml.org 
[lkml]   [2004]   [May]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 20 May 2004 23:06:22 -0700
FromUlrich Drepper <>
SubjectRe: [PATCH] Add FUTEX_CMP_REQUEUE futex op
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 
\
 
 \ /
  Last update: 2005-03-22 13:03    [from the cache]
©2003-2008