From: Davide Libenzi <davidel@xmailserver.org>
To: Ulrich Drepper <drepper@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: [patch 0/6] sys_indirect RFC - sys_indirect introduction
Date: Mon, 2 Jul 2007 17:37:17 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0707021733080.14774@alien.or.mcafeemobile.com> (raw)
In-Reply-To: <a36005b50707021728q2b5cac73qde36ed063a82eb24@mail.gmail.com>
On Mon, 2 Jul 2007, Ulrich Drepper wrote:
> > But there are
> > examples (and the signal stuff is one of them), where you do need the
> > set_context+syscall+unset_context abstraction, for all cases where the
> > kernel already has its own internal data strctures. In those cases you'd
> > have to spread sys_internal context knowledge all around the kernel,
> > whereas the current solution allows you to confine the code inside
> > kernel/indirect.c
>
> Nonsense. Whether you have a new word in the task structure or a
> pointer to a structure, you have to embed knowledge of this
> indirection in every affected code paths. There is no difference
> here. The only difference is that trying to force everything through
> an artificially complicated common entry code.
>
> I hope that Andrew+Linus will see through this. I'm done arguing.
I simply asked you to look how the code/patch would look like to handle
the ppoll/pselect/epoll_pwait stuff, and precisely where your changes had
to go. Or even in the exmaple Linus made of "make the fsuid/fsgid
temporarily be my _real_ uid/gid for this single system call" for what it
matters.
- Davide
prev parent reply other threads:[~2007-07-03 0:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-29 21:48 Davide Libenzi
2007-06-30 1:48 ` Ulrich Drepper
2007-06-30 19:23 ` Davide Libenzi
2007-06-30 21:54 ` Ulrich Drepper
2007-06-30 22:27 ` Davide Libenzi
2007-06-30 22:32 ` Davide Libenzi
2007-07-01 16:25 ` Ulrich Drepper
2007-07-01 17:09 ` Davide Libenzi
2007-07-02 14:09 ` Ulrich Drepper
2007-07-02 22:37 ` Davide Libenzi
2007-07-03 0:28 ` Ulrich Drepper
2007-07-03 0:37 ` Davide Libenzi [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=Pine.LNX.4.64.0707021733080.14774@alien.or.mcafeemobile.com \
--to=davidel@xmailserver.org \
--cc=akpm@linux-foundation.org \
--cc=drepper@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@linux-foundation.org \
/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®