Re: [PATCH 2/2] sched: Fix next_balance logic in rebalance_domains() and idle_balance()

From: Peter Zijlstra
Date: Fri May 09 2014 - 05:08:19 EST


On Thu, May 08, 2014 at 05:49:22PM -0700, Jason Low wrote:
> On Thu, 2014-05-08 at 15:14 -0700, Jason Low wrote:
> > Hi Ingo, Peter,
> >
> > Were there NULL domains on the test system? If so, I think we can
> > address the problem by doing update_next_balance() only if the below
> > rcu_dereference_check_sched_domain() returns a non-null domain.
>
> Also, below is a patch which has the change:
>

Thanks, and yes, NULL domains are a perfectly normal thing to have
(though not common on normal boot paths).

Attachment: pgpHIDAiQt1A4.pgp
Description: PGP signature