Skip to content

task_work_queue() with 2 users

Oleg Nesterov lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 4 repliesIn review
  2. v22 patches 11 repliesSuperseded
  3. v1 RFC0 of 1 patch 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3task_work_queue: add generic process-context callbacksinclude/linux/sched.h include/linux/task_work.h include/linux/tracehook.h +4 more+132 -53 replies
2/3cred: change keyctl_session_to_parent() to use task_work_queue()include/linux/key.h security/keys/internal.h security/keys/keyctl.c +1 more+47 -630 replies
3/3genirq: reimplement exit_irq_thread() hook via task_work_queue()include/linux/interrupt.h include/linux/sched.h kernel/exit.c +1 more+35 -501 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchThomas Gleixner
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] task_work_queue() with 2 users

Hello.

Compared to v2

1/3: make it (partly) useable without TIF_NOTIFY_RESUME

2/3: address the comments from David

3/3: New. Looks trivial, but I guess needs more testing.
And of course, needs the review from Thomas.

Oleg.

 include/linux/interrupt.h    |    4 --
 include/linux/key.h          |    6 +--
 include/linux/sched.h        |   12 ++----
 include/linux/task_work.h    |   32 ++++++++++++++++
 include/linux/tracehook.h    |   14 ++++++--
 kernel/Makefile              |    2 +-
 kernel/exit.c                |    5 ++-
 kernel/fork.c                |    1 +
 kernel/irq/manage.c          |   69 +++++++++++++++++------------------
 kernel/task_work.c           |   81 ++++++++++++++++++++++++++++++++++++++++++
 security/keys/internal.h     |    3 +-
 security/keys/keyctl.c       |   76 ++++++++++++++++++--------------------
 security/keys/process_keys.c |   25 ++++---------
 13 files changed, 213 insertions(+), 117 deletions(-)