linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Lutomirski <luto@kernel.org>
To: x86@kernel.org, linux-kernel@vger.kernel.org
Cc: Brian Gerst <brgerst@gmail.com>,
	Denys Vlasenko <dvlasenk@redhat.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Borislav Petkov <bp@alien8.de>, Oleg Nesterov <oleg@redhat.com>,
	Eric Paris <eparis@parisplace.org>,
	Andy Lutomirski <luto@kernel.org>
Subject: [PATCH 0/3] x86/entry: 32-bit C exit conversion and code deletion
Date: Fri, 31 Jul 2015 14:41:07 -0700	[thread overview]
Message-ID: <2cover.1438378274.git.luto@kernel.org> (raw)

[Resend, this time to lkml, too.  Sigh, I'm bad at this email thing.]

As promised, here's the 32-bit code.  Lightly tested.  Brian, thanks for
cleaning up the vm86 mess.

I can imagine some objections to patch 1.  I wonder how many users
actually care about 32-bit audit performance.  It ought to be relatively
straightforward to come up with a clean opportunistic sysexit
implementation for 32-bit kernels, which would fix the performance
regression (mostly, at least) and would speed up lots of other
workloads.

Are these okay as is, or is opportunistic sysexit a prerequisite?

Applies to tip/x86/asm.

P.S. Denys, I think we should do opportunistic sysretl on 64-bit
kernels.  That would be much nicer on top of your sysexit cleanup
series.

Andy Lutomirski (3):
  x86/entry/32: Remove 32-bit syscall audit optimizations
  x86/entry/32: Migrate to C exit path
  x86/entry: Remove do_notify_resume, syscall_trace_leave, and their TIF
    masks

 arch/x86/entry/common.c            |  57 --------------------
 arch/x86/entry/entry_32.S          | 108 +++++--------------------------------
 arch/x86/include/asm/ptrace.h      |   1 -
 arch/x86/include/asm/signal.h      |   1 -
 arch/x86/include/asm/thread_info.h |  16 ------
 5 files changed, 12 insertions(+), 171 deletions(-)

-- 
2.4.3


             reply	other threads:[~2015-07-31 21:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-31 21:41 Andy Lutomirski [this message]
2015-07-31 21:41 ` [PATCH 1/3] x86/entry/32: Remove 32-bit syscall audit optimizations Andy Lutomirski
2015-08-05 20:15   ` [tip:x86/asm] " tip-bot for Andy Lutomirski
2015-07-31 21:41 ` [PATCH 2/3] x86/entry/32: Migrate to C exit path Andy Lutomirski
2015-08-05 20:15   ` [tip:x86/asm] " tip-bot for Andy Lutomirski
2015-07-31 21:41 ` [PATCH 3/3] x86/entry: Remove do_notify_resume, syscall_trace_leave, and their TIF masks Andy Lutomirski
2015-08-05 20:15   ` [tip:x86/asm] x86/entry: Remove do_notify_resume(), syscall_trace_leave(), " tip-bot for Andy Lutomirski

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=2cover.1438378274.git.luto@kernel.org \
    --to=luto@kernel.org \
    --cc=bp@alien8.de \
    --cc=brgerst@gmail.com \
    --cc=dvlasenk@redhat.com \
    --cc=eparis@parisplace.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --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;
as well as URLs for NNTP newsgroup(s).