linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: [git pull] signals pile 3
Date: Sat, 13 Oct 2012 01:53:34 +0100	[thread overview]
Message-ID: <20121013005334.GM2616@ZenIV.linux.org.uk> (raw)

The last bits of infrastructure for kernel_thread() et.al., with alpha/arm/x86
use of those.  Plus sanitizing the asm glue and do_notify_resume() on alpha,
fixing the "disabled irq while running task_work stuff" breakage there.

At that point the rest of kernel_thread/kernel_execve/sys_execve work can
be done independently for different architectures.  The only pending bits
that do depend on having all architectures converted are restrictred to
fs/* and kernel/* - that'll obviously have to wait for the next cycle.
I thought we'd have to wait for all of them done before we start eliminating
the longjump-style insanity in kernel_execve(), but it turned out there's
a very simple way to do that without flagday-style changes.

Please, pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal for-linus

Shortlog:
Al Viro (12):
      alpha: simplify TIF_NEED_RESCHED handling
      alpha: take SIGPENDING/NOTIFY_RESUME loop into signal.c
      alpha: don't bother passing switch_stack separately from regs
      alpha: get rid of switch_stack argument of do_work_pending()
      don't bother with kernel_thread/kernel_execve for launching linuxrc
      ppc: eeh_event should just use kthread_run()
      make sure that we always have a return path from kernel_execve()
      make sure that kernel_thread() callbacks call do_exit() themselves
      infrastructure for saner ret_from_kernel_thread semantics
      x86, um: convert to saner kernel_execve() semantics
      arm: switch to saner kernel_execve() semantics
      alpha: switch to saner kernel_execve() semantics

Diffstat:
 arch/Kconfig                               |    3 +
 arch/alpha/Kconfig                         |    1 +
 arch/alpha/include/asm/unistd.h            |    1 -
 arch/alpha/kernel/entry.S                  |   87 +++++++++-------------------
 arch/alpha/kernel/signal.c                 |   48 +++++++++------
 arch/arm/Kconfig                           |    1 +
 arch/arm/include/asm/unistd.h              |    1 -
 arch/arm/kernel/entry-common.S             |   29 +--------
 arch/arm/kernel/process.c                  |    5 +-
 arch/powerpc/platforms/pseries/eeh_event.c |    5 +-
 arch/um/include/asm/processor-generic.h    |    2 -
 arch/um/include/shared/os.h                |    1 -
 arch/um/kernel/exec.c                      |    5 --
 arch/um/kernel/process.c                   |   10 +--
 arch/um/os-Linux/process.c                 |   13 ----
 arch/x86/Kconfig                           |    1 +
 arch/x86/include/asm/unistd.h              |    1 -
 arch/x86/kernel/entry_32.S                 |   31 ++++------
 arch/x86/kernel/entry_64.S                 |   24 +------
 arch/x86/um/Kconfig                        |    1 +
 include/linux/syscalls.h                   |    8 +++
 init/do_mounts_initrd.c                    |   41 +++++--------
 init/main.c                                |   33 ++++++-----
 kernel/kmod.c                              |    7 ++-
 kernel/kthread.c                           |    1 +
 25 files changed, 137 insertions(+), 223 deletions(-)

             reply	other threads:[~2012-10-13  0:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-13  0:53 Al Viro [this message]
2012-10-14 15:35 ` [git pull] signals pile 3 Daniel Mack
2012-10-14 16:40   ` [revert request for commit 9fff2fa] " Al Viro
2012-10-14 16:44     ` Daniel Mack
2012-10-14 17:26       ` Al Viro
2012-10-14 17:55         ` Al Viro
2012-10-14 18:21           ` Daniel Mack
2012-10-14 18:21             ` Daniel Mack
2012-10-14 19:06             ` Al Viro
2012-10-14 19:24         ` Al Viro
2012-10-14 19:56           ` Al Viro
2012-10-15 16:07             ` Catalin Marinas
2012-10-15 16:27               ` Al Viro
2012-10-15 17:06                 ` Catalin Marinas
2012-10-14 20:24   ` Russell King - ARM Linux
2012-10-14 22:24     ` Russell King - ARM Linux
2012-10-14 22:39       ` Daniel Mack
2012-10-14 23:16         ` Russell King - ARM Linux
2012-10-14 23:16           ` Russell King - ARM Linux
2012-10-16 14:04           ` Uwe Kleine-König
2012-10-16 14:05             ` Russell King - ARM Linux
2012-10-16 14:05               ` Russell King - ARM Linux

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=20121013005334.GM2616@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).