lkml.org 
[lkml]   [2018]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 00/30] softirq: Make softirqs soft-interruptible (+ per vector disablement)
On Tue, Oct 16, 2018 at 04:03:59PM -0600, Jonathan Corbet wrote:
> 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?

I was thinking the exact same thing...

Thanks,
Richard

\
 
 \ /
  Last update: 2018-10-17 01:38    [W:0.170 / U:9.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site