Re: [rfc patch] x86,apic: fix DEBUG_PREEMPT gripe when bootingwith threadirqs=1

From: Mike Galbraith
Date: Sun Jun 26 2011 - 08:36:06 EST


On Sun, 2011-06-26 at 12:45 +0200, Ingo Molnar wrote:
> * Mike Galbraith <mgalbraith@xxxxxxx> wrote:
>
> > x86,apic: fix DEBUG_PREEMPT gripe when booting with threadirqs=1
> >
> > If CONFIG_PREEMPT and CONFIG_INTR_REMAP are both set, and a box is
> > booted with threadirqs, the gripe below is emitted. It was suggested
> > that native_smp_prepare_cpus() shouldn't need to be run with preemption
> > disabled, and indeed, box boots with no hint of trouble. Remove it.
>
> Would also require a careful review of the code we take out of
> preempt protection now - have you done that by any chance? (if not,
> mind doing it?)

No, I haven't, I have only empirical evidence of having yet to see any
nastiness with an RT kernel.

I'll crawl through it once I get a couple PCI configuration space
thingies sorted. I'm rather expecting to then find out why
INTR_REMAP/DMAR + X2APIC is disabled.. the head-on collision way.

-Mike

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/