lkml.org 
[lkml]   [2011]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] Namespace file descriptors for 2.6.40

* Geert Uytterhoeven <geert@linux-m68k.org> wrote:

> On Wed, May 25, 2011 at 14:47, Ingo Molnar <mingo@elte.hu> wrote:
> > * Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> >
> >> > But at least the primary, 'native' syscall table of every arch
> >> > could be kept rather fresh via generic enumeration.
> >>
> >> So we can start all over at offset 501 (alpha just started using
> >> 500) with a unified, clean, and compressed list of syscalls? Or do
> >> we have some more other-os-compat syscalls around in this range?
> >
> > No, that would leave a big hole in the syscall table of most
> > architectures.
>
> Sure, but we could (a) optimize for the case where the syscall number is
> larger than 500 and/or (b) drop support for syscall numbers smaller than
> 501, depending on a config option.

Dunno why there is so much desire to complicate and break
well-working ABIs while we have a 14+ MLOC kernel with so much code
in it that is in dire need to be improved! :-)

Yes, we can reduce the syscall addition pain via the
ARCH_SYSCALLS_BASE trick, but we should really forget about
*removing* (or reordering) syscall numbers as the advantages are
marginal at best while the disadvantages are huge.

Messy syscall tables are irreversibly ingrained in tens of millions
of systems and there's nothing we can do about that. We can improve
the future shape of syscall tables and we can try not to make new
mistakes, and that's a large enough job in itself ;-)

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-05-25 15:21    [W:0.047 / U:1.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site