lkml.org 
[lkml]   [2016]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 7/7] sched/core: Add debug code to catch missing update_rq_clock()
Hello,

On (09/21/16 20:08), Matt Fleming wrote:
> On Wed, 21 Sep, at 05:58:27PM, Petr Mladek wrote:
> >
> > I am not sure how the above call chain is realistic. But adding
> > WARN_ON() into the scheduler paths is risky in general.
>
> It's not clear to me why this should be the case. WARN_ON() calls have
> existed in the scheduler paths since forever.
>
> If the new async printk patches make that impossible then surely they
> need fixing, not the scheduler?

it's not specific to async printk, because printk already invokes scheduler
via semaphore up().

-ss

\
 
 \ /
  Last update: 2016-09-23 00:01    [W:0.393 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site