This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] powerpc: Enable demuxed sysv IPC syscalls


On Wednesday 16 December 2015 20:21:47 Michael Ellerman wrote:
> On Wed, 2015-12-16 at 10:00 +0100, Arnd Bergmann wrote:
> > On Wednesday 16 December 2015 09:42:53 Andreas Schwab wrote:
> > > Michael Ellerman <mpe@ellerman.id.au> writes:
> 
> > > > Having said that it doesn't seem like it buys us that much. Just that userspace
> > > > no longer has to worry about passing IPC_64, or is there more to it that I'm
> > > > missing? I guess that's a worthwhile cleanup though.
> > > 
> > > By removing the requirement to add IPC_64 you remove the need for a
> > > special wrapper, and the syscalls can be implemented by just adding it
> > > to syscalls.list.  That should be the goal for every new syscall.  Also,
> > > it doesn't make sense to offer obsolete interfaces (the non-IPC_64
> > > variants) through such syscalls.
> > 
> > Right, the other point is that we can do it consistently for all
> > architectures that currently don't have separate ipc syscalls but
> > may want to add them.
> 
> OK, sounds good.
> 
> > I made a table when this first came up:
> > https://docs.google.com/spreadsheets/d/18GxXEHE2ywnSr-SPoGFd1ABz6wEM1ex-JMu5lEraaH8
> > 
> > So the affected architectures are cris, frv, m32r, m68k, mips-o32, mn10300,
> > s390, sh, sparc and x86.
> 
> Eek, powerpc is red, bad!
> 
> So the only complication with reverting the patch is that we've since added
> sys_mlock2 after the IPC calls, as NR 378.
> 
> I guess because we haven't released a kernel with mlock2 using that number I'll
> just renumber it, as if the IPC calls were never there.

I think it would be better to leave the numbers as they are and bring them back
with the name numbers when we get there, just to avoid any incompatibilities with
people using mlock2 on prerelease kernels.

	Arnd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]