[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1422446595.5716.34.camel@marge.simpson.net>
Date: Wed, 28 Jan 2015 13:03:15 +0100
From: Mike Galbraith <umgwanakikbuti@...il.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Zefan Li <lizefan@...wei.com>, LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [patch] cpuset: fix crash when adding CPUs to an empty set
On Wed, 2015-01-28 at 12:53 +0100, Peter Zijlstra wrote:
> On Wed, Jan 28, 2015 at 12:24:52PM +0800, Zefan Li wrote:
> > > sched: Fix crash if cpuset_cpumask_can_shrink() is passed an empty cpumask
> > >
> > > While creating an exclusive cpuset, we passed cpuset_cpumask_can_shrink()
> > > an empty cpumask (cur), and dl_bw_of(cpumask_any(cur)) made boom with it.
> > >
>
> Is this the case where a new cpuset doesn't yet have CPUs assigned?
Yes.
-Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists