lkml.org 
[lkml]   [2008]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched: don't take a mutex from interrupt context

* Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

> > WARNING: at kernel/mutex.c:134 mutex_lock_nested+0x277/0x290()

> Subject: sched: don't take a mutex from interrupt context
>
> print_cfs_stats is callable from interrupt context (sysrq), hence it
> should not take mutexes. Change it to use RCU since the task group
> data is RCU freed anyway.

thanks Peter, applied this to sched-devel.git.

Ingo


\
 
 \ /
  Last update: 2008-01-22 18:09    [W:0.056 / U:2.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site