On Tue, Oct 31, 2006 at 10:00:47PM -0800, David Miller wrote:
> From: Andy Gospodarek <[email protected]>
> Date: Tue, 31 Oct 2006 17:06:00 -0500
>
> > I've got a kernel built where
> >
> > CONFIG_DEBUG_SPINLOCK_SLEEP=y
> >
> > is in the config and I've noticed some interesting behavior when
> > bringing up bonds in balance-alb mode. When I start to enslave devices
> > to a bond I get the following in the ring buffer:
> >
> > BUG: sleeping function called from invalid context at mm/slab.c:3007
> > in_atomic():1, irqs_disabled():0
>
> As Herbert mentioned, the bonding layer calls into the networking
> in atomic contexts when that is illegal.
> -
Thanks for the feedback. If it seems the bonding driver is one of the
only culprits, I'll investigate a solution that is specific to bonding
(maybe a workqueue for such calls...) rather that one that effects the
entire stack.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]