login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
22
Re: [PATCH] sched: don't take a mutex from interrupt context
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Peter Zijlstra <a.p.zijlstra@...>
To: <vatsa@...>
Cc: Dave Young <hidave.darkstar@...>, <linux-kernel@...>, <mingo@...>
Subject:
Re: [PATCH] sched: don't take a mutex from interrupt context
Date: Tuesday, January 22, 2008 - 12:47 pm
On Tue, 2008-01-22 at 22:21 +0530, Srivatsa Vaddagiri wrote:
quoted text
> On Tue, Jan 22, 2008 at 05:25:38PM +0100, Peter Zijlstra wrote: > > @@ -1428,9 +1428,9 @@ static void print_cfs_stats(struct seq_f > > #ifdef CONFIG_FAIR_GROUP_SCHED > > print_cfs_rq(m, cpu, &cpu_rq(cpu)->cfs); > > #endif > > - lock_task_group_list(); > > + rcu_read_lock(); > > for_each_leaf_cfs_rq(cpu_rq(cpu), cfs_rq) > > print_cfs_rq(m, cpu, cfs_rq); > > Isn't there a possibility that print_cfs_rq() can block?
It should not, that would be another bug, but from a quick glance at the code it doesn't do that.
quoted text
> > > - unlock_task_group_list(); > > + rcu_read_unlock(); > > } > > #endif > > >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
WARNING: at kernel/mutex.c:134
, Dave Young
, (Mon Jan 21, 10:36 pm)
[PATCH] sched: don't take a mutex from interrupt context
, Peter Zijlstra
, (Tue Jan 22, 12:25 pm)
Re: [PATCH] sched: don't take a mutex from interrupt context
, Ingo Molnar
, (Tue Jan 22, 1:07 pm)
Re: [PATCH] sched: don't take a mutex from interrupt context
, Srivatsa Vaddagiri
, (Tue Jan 22, 12:51 pm)
Re: [PATCH] sched: don't take a mutex from interrupt context
, Peter Zijlstra
, (Tue Jan 22, 12:47 pm)
Re: [PATCH] sched: don't take a mutex from interrupt context
, Srivatsa Vaddagiri
, (Tue Jan 22, 1:23 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Matt Mackall
Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
Colocation donated by:
Who's online
There are currently
0 users
and
592 guests
online.
Syndicate