[GIT PULL] Arch/task_work cleanup

From: Jens Axboe
Date: Thu Oct 22 2020 - 22:05:02 EST


Hi Linus,

Two cleanups that don't fit other categories:

- Finally get the task_work_add() cleanup done properly, so we don't
have random 0/1/false/true/TWA_SIGNAL confusing use cases. Updates all
callers, and also fixes up the documentation for task_work_add().

- While working on some TIF related changes for 5.11, this
TIF_NOTIFY_RESUME cleanup fell out of that. Remove some arch
duplication for how that is handled.

Please pull!


The following changes since commit 324bcf54c449c7b5b7024c9fa4549fbaaae1935d:

mm: use limited read-ahead to satisfy read (2020-10-17 13:49:08 -0600)

are available in the Git repository at:

git://git.kernel.dk/linux-block.git tags/arch-cleanup-2020-10-22

for you to fetch changes up to 91989c707884ecc7cd537281ab1a4b8fb7219da3:

task_work: cleanup notification modes (2020-10-17 15:05:30 -0600)

----------------------------------------------------------------
arch-cleanup-2020-10-22

----------------------------------------------------------------
Jens Axboe (2):
tracehook: clear TIF_NOTIFY_RESUME in tracehook_notify_resume()
task_work: cleanup notification modes

arch/alpha/kernel/signal.c | 1 -
arch/arc/kernel/signal.c | 2 +-
arch/arm/kernel/signal.c | 1 -
arch/arm64/kernel/signal.c | 1 -
arch/c6x/kernel/signal.c | 4 +---
arch/csky/kernel/signal.c | 1 -
arch/h8300/kernel/signal.c | 4 +---
arch/hexagon/kernel/process.c | 1 -
arch/ia64/kernel/process.c | 2 +-
arch/m68k/kernel/signal.c | 2 +-
arch/microblaze/kernel/signal.c | 2 +-
arch/mips/kernel/signal.c | 1 -
arch/nds32/kernel/signal.c | 4 +---
arch/nios2/kernel/signal.c | 2 +-
arch/openrisc/kernel/signal.c | 1 -
arch/parisc/kernel/signal.c | 4 +---
arch/powerpc/kernel/signal.c | 1 -
arch/riscv/kernel/signal.c | 4 +---
arch/s390/kernel/signal.c | 1 -
arch/sh/kernel/signal_32.c | 4 +---
arch/sparc/kernel/signal_32.c | 4 +---
arch/sparc/kernel/signal_64.c | 4 +---
arch/um/kernel/process.c | 2 +-
arch/x86/kernel/cpu/mce/core.c | 2 +-
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 2 +-
arch/xtensa/kernel/signal.c | 2 +-
drivers/acpi/apei/ghes.c | 2 +-
drivers/android/binder.c | 2 +-
fs/file_table.c | 2 +-
fs/io_uring.c | 13 +++++++------
fs/namespace.c | 2 +-
include/linux/task_work.h | 11 ++++++++---
include/linux/tracehook.h | 4 ++--
kernel/entry/common.c | 1 -
kernel/entry/kvm.c | 4 +---
kernel/events/uprobes.c | 2 +-
kernel/irq/manage.c | 2 +-
kernel/sched/fair.c | 2 +-
kernel/task_work.c | 30 ++++++++++++++++++++----------
security/keys/keyctl.c | 2 +-
security/yama/yama_lsm.c | 2 +-
41 files changed, 64 insertions(+), 76 deletions(-)

--
Jens Axboe