lkml.org 
[lkml]   [2019]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem with WARN_ON in mutex_trylock() and rxrpc
On 2019-12-10 20:25:38 [+0100], Peter Zijlstra wrote:
> AFAICT the only assumption it relies on are:
>
> - that the softirq will cleanly preempt a task. That is, the task
> context must not change under the softirq execution.
>
> - that the softirq runs non-preemptible.
>
> Now, both these properties are rather fundamental to how our softirqs
> work. And can, therefore, be relied upon, irrespective of the mutex
> implementation.

softirq is preemptible on -RT (I think you know that already but just in
case).

Sebastian

\
 
 \ /
  Last update: 2019-12-10 21:32    [W:0.031 / U:12.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site