Re: [GIT] writable_limits for 2.6.36

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Chris Metcalf
Date: Tuesday, August 10, 2010 - 9:21 am

On 8/10/2010 12:01 PM, Linus Torvalds wrote:

Jiri and I actually discussed this back on July 20th on LKML when it
first conflicted in linux-next, and at the time he said he'd move
prlimit64 to 261 in <asm-generic/unistd.h>.  It looks like what actually
stuck in linux-next was different, however.  It's partly my fault for
not following up on this.


In any case, obviously the larger question is how many
architecture-specific syscalls are appropriate, and where they should be
located in the syscall number space.  To be clear, the model for new
generic system calls is that they just continue on after the 16
architecture-specific ones, and in fact __NR_wait4 is already an example
of just this -- done that way to avoid making trouble for the "score"
architecture, since it was deprecated and then later un-deprecated.  So
new generic syscalls are not a problem.

There is definitely some tension between allowing architectures free
reign with their own set of unlimited additional syscalls on the one
hand, and having a contiguous and small array of syscalls on the other
hand.  I suspect it's slightly nicer to have a contiguous and small
array, as long as we've provided enough room for architectures to add
extra syscalls, but I'm not strongly married to this position.

For what it's worth, from Tilera's point of view we can certainly
tolerate changes in this area; we have not released any of this new
syscall ABI stuff to customers yet, so thrashing this just involves an
internal flag day for our developers, which is not too big a deal.


-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT] writable_limits for 2.6.36, Jiri Slaby, (Sat Aug 7, 5:15 am)
Re: [GIT] writable_limits for 2.6.36, Linus Torvalds, (Tue Aug 10, 9:01 am)
Re: [GIT] writable_limits for 2.6.36, Chris Metcalf, (Tue Aug 10, 9:21 am)
Re: [GIT] writable_limits for 2.6.36, Linus Torvalds, (Tue Aug 10, 9:24 am)
Re: [GIT] writable_limits for 2.6.36, Jiri Slaby, (Tue Aug 10, 9:43 am)
Re: [GIT] writable_limits for 2.6.36, Arnd Bergmann, (Tue Aug 10, 11:50 am)
Re: [GIT] writable_limits for 2.6.36, Linus Torvalds, (Tue Aug 10, 12:12 pm)
Re: [GIT] writable_limits for 2.6.36, Chris Metcalf, (Tue Aug 10, 12:43 pm)
Re: [GIT] writable_limits for 2.6.36, Jiri Slaby, (Tue Aug 10, 2:44 pm)
Re: [GIT] writable_limits for 2.6.36, Arnd Bergmann, (Tue Aug 10, 7:39 pm)