login
Header Space

 
 

Re: [PATCH] sched: missing locking in sched_domains code

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Heiko Carstens <heiko.carstens@...>
Cc: Gautham R Shenoy <ego@...>, Ingo Molnar <mingo@...>, Paul Jackson <pj@...>, <linux-kernel@...>
Date: Sunday, April 27, 2008 - 9:39 pm

On Sun, 27 Apr 2008 23:12:24 +0200 Heiko Carstens <heiko.carstens@de.ibm.com> wrote:


leftover hunk.


It seems a bit fragile to take this lock in the caller without even adding
a comment at the callee site which documents the new locking rule.

It would be more robust to take the lock within partition_sched_domains().

partition_sched_domains() already covers itself with lock_doms_cur().  Can
we take that in arch_reinit_sched_domains() rather than adding the new lock?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] sched: missing locking in sched_domains code, Heiko Carstens, (Sun Apr 27, 5:12 pm)
Re: [PATCH] sched: missing locking in sched_domains code, Andrew Morton, (Sun Apr 27, 9:39 pm)
Re: [PATCH] sched: missing locking in sched_domains code, Heiko Carstens, (Mon Apr 28, 3:09 am)
Re: [PATCH] sched: missing locking in sched_domains code, Andrew Morton, (Mon Apr 28, 3:28 am)
Re: [PATCH] sched: missing locking in sched_domains code, Heiko Carstens, (Mon Apr 28, 3:52 am)
Re: [PATCH] sched: missing locking in sched_domains code, Heiko Carstens, (Mon Apr 28, 4:11 am)
Re: [PATCH] sched: missing locking in sched_domains code, Heiko Carstens, (Mon Apr 28, 4:49 am)
Re: [PATCH] sched: missing locking in sched_domains code, Andrew Morton, (Mon Apr 28, 4:57 am)
Re: [PATCH] sched: missing locking in sched_domains code, Heiko Carstens, (Mon Apr 28, 5:17 am)
Re: [PATCH] sched: missing locking in sched_domains code, Andrew Morton, (Mon Apr 28, 5:31 am)
Re: [PATCH] sched: missing locking in sched_domains code, Heiko Carstens, (Mon Apr 28, 5:33 am)
speck-geostationary