Thread (7 messages) flat view 7 messages, 4 authors, 2015-07-20

Re: [PATCH v2 3/3] sched/preempt: fix cond_resched_lock() and cond_resched_softirq()

From: Eric Dumazet <hidden>
Date: 2015-07-15 12:16:43
Also in: linux-arch, lkml

On Wed, 2015-07-15 at 12:52 +0300, Konstantin Khlebnikov wrote:
These functions check should_resched() before unlocking spinlock/bh-enable:
preempt_count always non-zero => should_resched() always returns false.
cond_resched_lock() worked iff spin_needbreak is set.
Interesting, this definitely used to work (linux-3.11)

Any idea of which commit broke things ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help