Re: [PATCH] napi: use non-interruptible sleep in napi_disable

From: David Miller
Date: Fri Oct 26 2007 - 07:23:54 EST


From: Jeff Garzik <jeff@xxxxxxxxxx>
Date: Thu, 25 Oct 2007 01:10:32 -0400

> Benjamin Herrenschmidt wrote:
> > The current napi_disable() uses msleep_interruptible() but doesn't
> > (and can't) exit in case there's a signal, thus ending up doing a
> > hot spin without a cpu_relax. Use uninterruptible sleep instead.
> >
> > Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
...
> ACK

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