lkml.org 
[lkml]   [2008]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] reintroduce accept4
(really does cc linux-arch this time)

On Mon, 27 Oct 2008 21:22:59 -0700 Ulrich Drepper <drepper@redhat.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrew Morton wrote:
> > I'll confess to not having a clue what's going on here.
>
> It has been discussed at length.

That's of little use to people trying to understand the git commit.

And it's of little use to people who write the documentation.
Hopefully Michael has been following this closely enough to get by with
what we have here (ie: nothing).

And it's of little use to people who are trying to review this patch
and who haven't followed this alleged lengthy discussion. (ie: me)

And it's of little use to people who write for sites such as lwn.net,
http://kernelnewbies.org/LinuxChanges etc.

This is not some personal weekend hack project. It is the Linux
kernel, used by millions around the world.

> accept created file descriptors and we
> need flags for tis.
>
> >> #elif __i386__
> >> #define SYS_ACCEPT4 18
> >> #define USE_SOCKETCALL 1
> >> #define SOCK_CLOEXEC O_CLOEXEC
> >> #else
> >
> > Well. This doesn't actually agree with the kernel patch.
>
> What doesn't agree?
>
>
> > I'd suggest that i386 is sufficiently common to warrant its inclusion
> > in the initial patch.
>
> The x86 code is included. x86 uses socketcall instead of a syscall.

<wonders why arch/x86/include/asm/unistd_64.h defines
__ARCH_WANT_SYS_SOCKETCALL but doesn't wire up sys_socketcall()>

> I changed all paccept occurrences in the tree, not just x86-64.

OK, that covered a lot of architectures.


\
 
 \ /
  Last update: 2008-10-28 05:57    [W:0.052 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site