Em Tue, Sep 26, 2017 at 05:55:45PM +0000, Marciniszyn, Mike escreveu: > > > 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. > > > > I'm assuming you want to end up with common driver code base? > > Will there eventually be a wrapper upstream to allow that? > > Or will the rt patch handle those issues? So what happens is that infrastructure in the rt patch eventually lands upstream, then this difference ceases to exist. Steven, are there plans for local locks to go upstream? Well, back to trying to learn about them and use in this case to see how it ends up... - 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