[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201005150438.6628-1-axboe@kernel.dk>
Date: Mon, 5 Oct 2020 09:04:32 -0600
From: Jens Axboe <axboe@...nel.dk>
To: linux-kernel@...r.kernel.org, io-uring@...r.kernel.org
Cc: peterz@...radead.org, oleg@...hat.com, tglx@...utronix.de
Subject: [PATCHSET RFC v3 0/6] Add support for TIF_NOTIFY_SIGNAL
Hi,
The goal is this patch series is to decouple TWA_SIGNAL based task_work
from real signals and signal delivery. The motivation is speeding up
TWA_SIGNAL based task_work, particularly for threaded setups where
->sighand is shared across threads.
Patch 1 is just a cleanup patchs, since I noticed that notify_resume
handling has some arch redundancy..
Patch 2 provides an abstraction around signal_pending(), in preparation
for allowing TIF_NOTIFY_SIGNAL to break scheduling loops.
Patch 3 just splits system call restart handling from the arch signal
delivery. Only the generic entry code is updated.
Patch 4 adds generic support for TIF_NOTIFY_SIGNAL, calling the
appropriate tracehook_notify_signal() if TIF_NOTIFY_SIGNAL is set.
Patch 5 just defines TIF_NOTIFY_SIGNAL for x86, since the generic code
is now ready for it.
Patch 6 finally allows task_work to use notify_signal to handle
TWA_SIGNAL based task_work.
Changes since v2:
- notify resume cleanup
- split patch series
- improve commit messages and comments
- kvm TIF_NOTIFY_SIGNAL handling
--
Jens Axboe
Powered by blists - more mailing lists