From: Alexey Dobriyan <adobriyan@gmail.com>
To: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Jesper Juhl <jj@chaosbits.net>,
linux-kernel@vger.kernel.org,
Linus Torvalds <torvalds@linux-foundation.org>,
Jonas Gorski <jonas.gorski@gmail.com>,
"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Subject: Re: Why is CONFIG_FHANDLE an option??
Date: Sat, 11 Jun 2011 02:10:46 +0300 [thread overview]
Message-ID: <20110610231046.GA6811@p183.telecom.by> (raw)
In-Reply-To: <20110610223955.GA11521@ZenIV.linux.org.uk>
On Fri, Jun 10, 2011 at 11:39:55PM +0100, Al Viro wrote:
> On Sat, Jun 11, 2011 at 12:14:02AM +0200, Jesper Juhl wrote:
> > I just configured a new kernel based on a recent git checkout and when I
> > had copied in my old configuration and did a "make oldconfig"I was greeted
> > with
> >
> > open by fhandle syscalls (FHANDLE) [N/y/?] (NEW)
> >
> > Ok, so I read the help text description and learn that it's about two new
> > syscalls - open_by_handle_at(2) and name_to_handle_at(2).
> >
> > My first thought at this point was "why are new syscalls even an option"?
> >
> > Syscalls are in my oppinion ABI - having optional syscalls is just about
> > as bad as removing a syscall. It basically means that users cannot know if
> > the syscall is there and will need to test (it's bad enough having to
> > check the kernel version, having to check for specific syscalls as well
> > is just, well, annoying at best).
> >
> > Why are we making these optional?
>
> Why not?
To avoid situations like "I need to use a program but suddenly
it requires system call which I compiled out a month before and now
I need to reboot like an idiot".
splice(2) wasn't given config option despite several times bigger .o
file compared to fshandle+exportfs.
So let's say it was always somewhat arbitrary decision.
prev parent reply other threads:[~2011-06-10 23:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-10 22:14 Jesper Juhl
2011-06-10 22:39 ` Al Viro
2011-06-10 22:38 ` Jesper Juhl
2011-06-10 22:47 ` Al Viro
2011-06-10 22:42 ` Jesper Juhl
2011-06-10 22:58 ` Al Viro
2011-06-10 23:10 ` Alexey Dobriyan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110610231046.GA6811@p183.telecom.by \
--to=adobriyan@gmail.com \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=jj@chaosbits.net \
--cc=jonas.gorski@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=viro@ZenIV.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®