public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [GIT PULL] ext4 changes for 3.15
       [not found]                 ` <20140408134740.GB28822@thunk.org>
@ 2014-04-09 16:40                   ` Geert Uytterhoeven
  2014-04-09 16:55                     ` H. Peter Anvin
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2014-04-09 16:40 UTC (permalink / raw)
  To: Theodore Ts'o, H. Peter Anvin, Arnd Bergmann, Sam Ravnborg,
	linux-kbuild
  Cc: Geert Uytterhoeven, Miklos Szeredi, Jan Kara, Linus Torvalds,
	Linux Kernel Mailing List, linux-ext4@vger.kernel.org, Al Viro

On Tue, Apr 8, 2014 at 3:47 PM, Theodore Ts'o <tytso@mit.edu> wrote:
> On Mon, Apr 07, 2014 at 10:25:30PM +0200, Geert Uytterhoeven wrote:
>> > maintainers would have no idea that a new syscall has been added.
>>
>> If i386 has the new syscall, scripts/checksyscalls.sh will catch it and
>> inform us about it during our next kernel build.
>>
>> If you add it to x86_64 only, bad luck for anyone else ;-)
>
> Maybe we should change scripts/checksyscalls.sh to check the x86_64
> list of syscalls, and not i386?
>
> It's been a long time since "all the world's an i386" --- these days,
> it's "all the world's an x86_64".  :-)

Let the kbuild people (and their employers) fight over it...

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] ext4 changes for 3.15
  2014-04-09 16:40                   ` [GIT PULL] ext4 changes for 3.15 Geert Uytterhoeven
@ 2014-04-09 16:55                     ` H. Peter Anvin
  2014-04-09 17:48                       ` Geert Uytterhoeven
  0 siblings, 1 reply; 5+ messages in thread
From: H. Peter Anvin @ 2014-04-09 16:55 UTC (permalink / raw)
  To: Geert Uytterhoeven, Theodore Ts'o, Arnd Bergmann,
	Sam Ravnborg, linux-kbuild
  Cc: Miklos Szeredi, Jan Kara, Linus Torvalds,
	Linux Kernel Mailing List, linux-ext4@vger.kernel.org, Al Viro

On 04/09/2014 09:40 AM, Geert Uytterhoeven wrote:
> On Tue, Apr 8, 2014 at 3:47 PM, Theodore Ts'o <tytso@mit.edu> wrote:
>> On Mon, Apr 07, 2014 at 10:25:30PM +0200, Geert Uytterhoeven wrote:
>>>> maintainers would have no idea that a new syscall has been added.
>>>
>>> If i386 has the new syscall, scripts/checksyscalls.sh will catch it and
>>> inform us about it during our next kernel build.
>>>
>>> If you add it to x86_64 only, bad luck for anyone else ;-)
>>
>> Maybe we should change scripts/checksyscalls.sh to check the x86_64
>> list of syscalls, and not i386?
>>
>> It's been a long time since "all the world's an i386" --- these days,
>> it's "all the world's an x86_64".  :-)
> 
> Let the kbuild people (and their employers) fight over it...
> 

I'm missing context here, but as an x86 maintainer I have no intention
of allowing system calls that aren't x86-specific to be added to x86-64
only.

	-hpa


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] ext4 changes for 3.15
  2014-04-09 16:55                     ` H. Peter Anvin
@ 2014-04-09 17:48                       ` Geert Uytterhoeven
  2014-04-09 18:23                         ` Theodore Ts'o
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2014-04-09 17:48 UTC (permalink / raw)
  To: H. Peter Anvin
  Cc: Theodore Ts'o, Arnd Bergmann, Sam Ravnborg, linux-kbuild,
	Miklos Szeredi, Jan Kara, Linus Torvalds,
	Linux Kernel Mailing List, linux-ext4@vger.kernel.org, Al Viro

Hi Peter,

On Wed, Apr 9, 2014 at 6:55 PM, H. Peter Anvin <hpa@zytor.com> wrote:
> On 04/09/2014 09:40 AM, Geert Uytterhoeven wrote:
>> On Tue, Apr 8, 2014 at 3:47 PM, Theodore Ts'o <tytso@mit.edu> wrote:
>>> On Mon, Apr 07, 2014 at 10:25:30PM +0200, Geert Uytterhoeven wrote:
>>>>> maintainers would have no idea that a new syscall has been added.
>>>>
>>>> If i386 has the new syscall, scripts/checksyscalls.sh will catch it and
>>>> inform us about it during our next kernel build.
>>>>
>>>> If you add it to x86_64 only, bad luck for anyone else ;-)
>>>
>>> Maybe we should change scripts/checksyscalls.sh to check the x86_64
>>> list of syscalls, and not i386?
>>>
>>> It's been a long time since "all the world's an i386" --- these days,
>>> it's "all the world's an x86_64".  :-)
>>
>> Let the kbuild people (and their employers) fight over it...
>>
>
> I'm missing context here, but as an x86 maintainer I have no intention
> of allowing system calls that aren't x86-specific to be added to x86-64
> only.

commit 520c8b16505236fc82daa352e6c5e73cd9870cff
Author: Miklos Szeredi <mszeredi@suse.cz>
Date:   Tue Apr 1 17:08:42 2014 +0200

    vfs: add renameat2 syscall

It was added to arch/x86/syscalls/syscall_64.tbl only.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] ext4 changes for 3.15
  2014-04-09 17:48                       ` Geert Uytterhoeven
@ 2014-04-09 18:23                         ` Theodore Ts'o
  2014-04-09 19:19                           ` H. Peter Anvin
  0 siblings, 1 reply; 5+ messages in thread
From: Theodore Ts'o @ 2014-04-09 18:23 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: H. Peter Anvin, Arnd Bergmann, Sam Ravnborg, linux-kbuild,
	Miklos Szeredi, Jan Kara, Linus Torvalds,
	Linux Kernel Mailing List, linux-ext4@vger.kernel.org, Al Viro,
	Michael Kerrisk (man-pages)

On Wed, Apr 09, 2014 at 07:48:32PM +0200, Geert Uytterhoeven wrote:
> >
> > I'm missing context here, but as an x86 maintainer I have no intention
> > of allowing system calls that aren't x86-specific to be added to x86-64
> > only.
> 
> commit 520c8b16505236fc82daa352e6c5e73cd9870cff
> Author: Miklos Szeredi <mszeredi@suse.cz>
> Date:   Tue Apr 1 17:08:42 2014 +0200
> 
>     vfs: add renameat2 syscall
> 
> It was added to arch/x86/syscalls/syscall_64.tbl only.

To be fair, part of the problem is that we don't have good
documentation about best practices in what people should do if adding
new system calls.  (i.e., creating a man page and pulling in Michael
Kerrisk, adding tests, wiring up both x86_64 and i386, sending mail to
linux-arch, the scripts/checksyscalls.sh script, etc.)

I'll confess to being ignorant about the checksyscalls.sh script, and
while I had known about the existence of the linux-arch list, I had
forgotten about it, so if I had tried to add a new system call, it's
likely I would have missed at one or more of these steps.

       	       	    	      	     - Ted




> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] ext4 changes for 3.15
  2014-04-09 18:23                         ` Theodore Ts'o
@ 2014-04-09 19:19                           ` H. Peter Anvin
  0 siblings, 0 replies; 5+ messages in thread
From: H. Peter Anvin @ 2014-04-09 19:19 UTC (permalink / raw)
  To: Theodore Ts'o, Geert Uytterhoeven
  Cc: Arnd Bergmann, Sam Ravnborg, linux-kbuild, Miklos Szeredi,
	Jan Kara, Linus Torvalds, Linux Kernel Mailing List,
	linux-ext4@vger.kernel.org, Al Viro, Michael Kerrisk (man-pages)

It is quite frankly ridiculous how much work it takes to wire up a new system call.  It should be possible to do it across architectures without all this crap.

On April 9, 2014 11:23:24 AM PDT, Theodore Ts'o <tytso@mit.edu> wrote:
>On Wed, Apr 09, 2014 at 07:48:32PM +0200, Geert Uytterhoeven wrote:
>> >
>> > I'm missing context here, but as an x86 maintainer I have no
>intention
>> > of allowing system calls that aren't x86-specific to be added to
>x86-64
>> > only.
>> 
>> commit 520c8b16505236fc82daa352e6c5e73cd9870cff
>> Author: Miklos Szeredi <mszeredi@suse.cz>
>> Date:   Tue Apr 1 17:08:42 2014 +0200
>> 
>>     vfs: add renameat2 syscall
>> 
>> It was added to arch/x86/syscalls/syscall_64.tbl only.
>
>To be fair, part of the problem is that we don't have good
>documentation about best practices in what people should do if adding
>new system calls.  (i.e., creating a man page and pulling in Michael
>Kerrisk, adding tests, wiring up both x86_64 and i386, sending mail to
>linux-arch, the scripts/checksyscalls.sh script, etc.)
>
>I'll confess to being ignorant about the checksyscalls.sh script, and
>while I had known about the existence of the linux-arch list, I had
>forgotten about it, so if I had tried to add a new system call, it's
>likely I would have missed at one or more of these steps.
>
>       	       	    	      	     - Ted
>
>
>
>
>> 
>> Gr{oetje,eeting}s,
>> 
>>                         Geert
>> 
>> --
>> Geert Uytterhoeven -- There's lots of Linux beyond ia32 --
>geert@linux-m68k.org
>> 
>> In personal conversations with technical people, I call myself a
>hacker. But
>> when I'm talking to journalists I just say "programmer" or something
>like that.
>>                                 -- Linus Torvalds

-- 
Sent from my mobile phone.  Please pardon brevity and lack of formatting.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-09 19:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20140403191558.GA8745@thunk.org>
     [not found] ` <CA+55aFxoA-iDdmbbgmJiYVvskrtca5aGgUAW=3CR47rM9NEMLA@mail.gmail.com>
     [not found]   ` <20140404035308.GC2525@thunk.org>
     [not found]     ` <20140404134429.GB26806@quack.suse.cz>
     [not found]       ` <CAJfpegsJd9d8NTmwozJ+u_ZS-SnUwAQFwAne6P1KqG=VZeZSTA@mail.gmail.com>
     [not found]         ` <20140404234358.GE10275@thunk.org>
     [not found]           ` <CAJfpegv_Ng1cXbpCqicG4e3UdGK3uiDtVB4KzfRQOhDq_uhZOw@mail.gmail.com>
     [not found]             ` <20140407140745.GA8855@thunk.org>
     [not found]               ` <CAMuHMdVHyAJwJv5nh+nQUOQJk6=2+Rr+pEqAZPgJUsA7A9A3hQ@mail.gmail.com>
     [not found]                 ` <20140408134740.GB28822@thunk.org>
2014-04-09 16:40                   ` [GIT PULL] ext4 changes for 3.15 Geert Uytterhoeven
2014-04-09 16:55                     ` H. Peter Anvin
2014-04-09 17:48                       ` Geert Uytterhoeven
2014-04-09 18:23                         ` Theodore Ts'o
2014-04-09 19:19                           ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox