From: Ingo Molnar <mingo@kernel.org>
To: Andy Lutomirski <luto@amacapital.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
the arch/x86 maintainers <x86@kernel.org>,
Steven Rostedt <rostedt@goodmis.org>,
Gleb Natapov <gleb@kernel.org>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [ABOMINATION] x86: Fast interrupt return to userspace
Date: Wed, 7 May 2014 13:14:22 +0200 [thread overview]
Message-ID: <20140507111422.GA8410@gmail.com> (raw)
In-Reply-To: <CALCETrVHj1rd=ma-dW8C9RNyQNj3smRAyevWJSQXmvgshbQb6w@mail.gmail.com>
* Andy Lutomirski <luto@amacapital.net> wrote:
> > Whatever. I got enough profile data to say that it seems to have
> > cut 'iret' overhead by at least two thirds. So it may not *work*,
> > but from a "hey look, some random numbers" standpoint it is worth
> > playing with.
>
> :)
>
> Is there actual interest in turning something like this into a real
> patch? It would almost certainly have to default off and no one
> sane would ever use it except for special-purpose machines.
The macro speedup looks rather impressive, and we've done ugly things
for far smaller speedups.
But I don't think it should be a 'special mode'. It either is made to
work unconditionally and can be a prime speedup to be proud of in a
politely disgusted fashion, or we don't want the complexity (and
future bitrot) of some special switch.
At minimum it can be a "look we want this speedup in hardware"
testcase to CPU designers.
Thanks,
Ingo
next prev parent reply other threads:[~2014-05-07 11:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 20:29 [ABOMINATION] x86: Fast interrupt return to userspace Andy Lutomirski
2014-05-06 20:35 ` Linus Torvalds
2014-05-06 21:00 ` Linus Torvalds
2014-05-06 21:25 ` Linus Torvalds
2014-05-06 21:34 ` Andy Lutomirski
2014-05-06 21:48 ` Linus Torvalds
2014-05-06 22:49 ` Steven Rostedt
2014-05-06 23:37 ` Måns Rullgård
2014-05-07 11:14 ` Ingo Molnar [this message]
2014-05-07 15:27 ` Andy Lutomirski
2014-05-06 21:40 ` Linus Torvalds
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=20140507111422.GA8410@gmail.com \
--to=mingo@kernel.org \
--cc=gleb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=pbonzini@redhat.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=x86@kernel.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