Re: BUG: scheduling while atomic

From: Herbert Xu
Date: Mon Jul 06 2009 - 03:56:03 EST


Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Just delete the tty_unthrottle() from drivers/net/ppp/ppp_async.c - it
> never throttles the port so it never needs to unthrottle it (which is why
> it happened never to cause crashes before)

I'm not sure about that. The PTY driver is always in the throttled
state, so tty_unthrottle isn't a noop.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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/