Re: [2.6.5] Bad scheduling while atomic

From: David S. Miller
Date: Fri Apr 16 2004 - 17:12:44 EST


On Fri, 16 Apr 2004 13:16:33 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> Bring up/down network devices with lapbether causes scheduling while
> atomic (if preempt enabled).
>
> The calls to rcu_read_lock are unnecessary since lapb_device_event
> is called from notifier with the rtnetlink semaphore held, it is
> already protected from the labp_devices list changing.

Applied, thanks Stephen.
-
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/