lkml.org 
[lkml]   [2018]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Make need_resched() return true when rcu_urgent_qs requested
On Mon, Jul 09, 2018 at 07:29:32AM -0700, Paul E. McKenney wrote:

> OK, so here are our options:
>
> 1. Add the RCU conditional to need_resched(), as David suggests.
> Peter has concerns about overhead.

Not only overhead, its plain broken, because:

1) we keep preemption state in other places too
2) we check need_resched() in asm

\
 
 \ /
  Last update: 2018-07-09 16:43    [W:0.048 / U:2.364 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site