| Date | Tue, 16 Oct 2018 16:03:59 -0600 | From | Jonathan Corbet <> | Subject | Re: [RFC PATCH 00/30] softirq: Make softirqs soft-interruptible (+ per vector disablement) |
| |
On Thu, 11 Oct 2018 01:11:47 +0200 Frederic Weisbecker <frederic@kernel.org> wrote:
> 945 files changed, 13857 insertions(+), 9767 deletions(-)
Impressive :)
I have to ask a dumb question, though. Might it not be better to add a new set of functions like:
local_softirq_disable(mask); spin_lock_softirq(lock, mask);
Then just define the existing functions to call the new ones with SOFTIRQ_ALL_MASK? It would achieve something like the same result with far less churn and conflict potential; then individual call sites could be changed at leisure? For extra credit, somebody could do a checkpatch rule to keep new calls to the _bh functions from being added.
Thanks,
jon
|