public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* FUTEX_CMP_REQUEUE and 6-argument syscall
@ 2004-06-03 18:02 Pete Zaitcev
  2004-06-03 18:13 ` Ralf Baechle
  2004-06-04  0:33 ` Paul Mackerras
  0 siblings, 2 replies; 6+ messages in thread
From: Pete Zaitcev @ 2004-06-03 18:02 UTC (permalink / raw)
  To: schwidefsky; +Cc: linux-arch, zaitcev, akpm, jakub

Hi, Martin,

the following changeset adds an extra argument for sys_futex:
 http://linux.bkbits.net:8080/linux-2.5/gnupatch@40bca55f9uSk3jznb3RD7ltnQvJKbA

So, now we have a syscall with 6 arguments. Do you have any suggestions
how to handle it on s390? The main decision would be if we stick to
the C calling convention and put a pointer to the list into %r7, or
if we just put the argument into %r7 (thus precluding syscalls with
7 arguments for sure, but saving a get_user somewhere). After that
we need to change arch/s390/kernel/entry.S:trace_svc, and the 31 bit
compat wrapper.

I'm curious if any other architecture was caught out by this.

-- Pete

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-06-04  7:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-03 18:02 FUTEX_CMP_REQUEUE and 6-argument syscall Pete Zaitcev
2004-06-03 18:13 ` Ralf Baechle
2004-06-03 21:26   ` David S. Miller
2004-06-03 23:27     ` Pete Zaitcev
2004-06-04  0:33 ` Paul Mackerras
2004-06-04  7:44   ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox