lkml.org 
[lkml]   [2008]   [Nov]   [18]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 18 Nov 2008 08:45:43 +0100
FromIngo Molnar <>
SubjectRe: [PATCH] cpuset: fix regression when failed to generate sched domains
* Li Zefan <lizf@cn.fujitsu.com> wrote:

> When cpuset failed to generate sched domains due to kmalloc()
> failure, the scheduler should fallback to the single partition
> 'fallback_doms' and rebuild sched domains, but now it only
> destroys but not rebuilds sched domains.> > The regression is introduced by:> > commit dfb512ec4834116124da61d6c1ee10fd0aa32bd6> Author: Max Krasnyansky <maxk@qualcomm.com>> Date:   Fri Aug 29 13:11:41 2008 -0700> >     sched: arch_reinit_sched_domains() must destroy domains to force rebuild
> 
> After the above commit, partition_sched_domains(0, NULL, NULL) will
> only destroy sched domains and partition_sched_domains(1, NULL, NULL)
> will create the default sched domain.
> 
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>

applied to tip/sched/urgent, thanks!

> Should I also CC stable for 2.6.27.xx ?

i've added a Cc: stable to the commit - that will trigger a -stable 
backport.

	Ingo


\
 
 \ /
  Last update: 2008-11-18 08:49    [from the cache]
©2003-2008