login
Header Space

 
 

Re: [PATCH v2] cpuset sched_load_balance flag

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <dino@...>, <cpw@...>, <menage@...>, <linux-kernel@...>, <randy.dunlap@...>, <nickpiggin@...>, <mingo@...>
Date: Wednesday, October 10, 2007 - 11:10 pm

> > +		doms = kmalloc(sizeof(cpumask_t), GFP_KERNEL);

Ah - good catch - thanks, Andrew.  I should put together a fix,
to check these kmalloc calls.

For rebuild_sched_domains(), this can mean we just up and return having
done nothing.

For arch_init_sched_domains(), the code calling arch_init_sched_domains()
is not checking for failure, and doesn't have a trivial fallback code
path in the case of failure.  I'll have to think about that one just a
little.

Thanks, Andrew!

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2] cpuset sched_load_balance flag, Paul Jackson, (Sat Oct 6, 5:47 am)
Re: [PATCH v2] cpuset sched_load_balance flag, Andrew Morton, (Wed Oct 10, 10:29 pm)
Re: [PATCH v2] cpuset sched_load_balance flag, Paul Jackson, (Wed Oct 10, 11:10 pm)
Re: [PATCH v2] cpuset sched_load_balance flag, Ingo Molnar, (Sat Oct 6, 7:17 am)
speck-geostationary