Messages in this thread | | | Date | Tue, 17 Dec 2002 11:32:29 -0800 | From | "H. Peter Anvin" <> | Subject | Re: Intel P6 vs P7 system call performance |
| |
Linus Torvalds wrote: > > On Tue, 17 Dec 2002, Linus Torvalds wrote: > >>Hmm.. Which system calls have all six parameters? I'll have to see if I >>can find any way to make those use the new interface too. > > > The only ones I found from a quick grep are > - sys_recvfrom > - sys_sendto > - sys_mmap2() > - sys_ipc() > > and none of them are of a kind where the system call entry itself is the > biggest performance issue (and sys_ipc() is deprecated anyway), so it's > probably acceptable to just use the old interface for them. >
recvfrom() and sendto() can also be implemeted as sendmsg() recvmsg() if one really wants to.
What one can also do is that a sixth argument, if one exists, is passed on the stack (i.e. in (%ebp), since %ebp contains the stack pointer.)
-hpa
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |