[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1336564330.2527.23.camel@twins>
Date: Wed, 09 May 2012 13:52:10 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Igor Mammedov <imammedo@...hat.com>
Cc: Jiang Liu <liuj97@...il.com>, linux-kernel@...r.kernel.org,
mingo@...nel.org, pjt@...gle.com, tglx@...utronix.de,
seto.hidetoshi@...fujitsu.com
Subject: Re: [PATCH] sched_groups are expected to be circular linked list,
make it so right after allocation
On Wed, 2012-05-09 at 13:44 +0200, Igor Mammedov wrote:
> This patch fixes only build_sched_groups path, but there is another fail path
> that results in below OOPS.
> build_overlap_sched_groups() may exit without setting groups and later it will crash
> init_sched_groups_power as well.
if that allocation fails? Or is there another fail path?
> But I just don't know how to fix it, so I've just
> posted partial fix that reduces crash frequency.
> And I have to admit that
> cpu_active_mask and siblings map are busted but we either should not exit from builder
> funcs with NULL group or BUG there if it is impossible to come-up with sane group
> for insane domain span.
I'm perfectly OK with taking the machine down, provided we can output
useful messages as to what is broken first..
--
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