Em Mon, Sep 25, 2017 at 04:15:28PM -0400, Steven Rostedt escreveu: > On Mon, 25 Sep 2017 11:49:49 -0300 Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote: > > I'm wondering if turning this sc->alloc_lock to a raw_spin_lock is the > > right solution, which I'm afraid its not, as there are places where it > > is held and then the code goes on to grab other non-raw spinlocks... > No, the correct solution is to convert the preempt_disable into a > local_lock(), which will be a preempt_disable when PREEMPT_RT is not > set. Look for other patches that convert preempt_disable() into > local_lock()s for examples. Thanks, I had seen a patch patch by Sebastian for random.c doing that, will continue in that direction. - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html