Re: [PATCH] Remove RCU abuse in cpu_idle()

From: Zwane Mwaikambo
Date: Mon Dec 13 2004 - 02:18:08 EST


On Sun, 12 Dec 2004, Andrew Morton wrote:

> Zwane Mwaikambo <zwane@xxxxxxxxxxxxxxxx> wrote:
> >
> > > This gives me scadzillions of "using smp_procesor_id() in preemptible"
> > > warnings.
>
> As does the current_cpu_data evaluation in default_idle(), now we've gone
> and dropped the rcu_read_lock() from around it. That debugging patch is a
> pain.
>
> I'll switch it to boot_cpu_data.

I really should have turned on all the debugging knobs, although i might
have hesitated before scattering _smp_processor_id in places.

-
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/