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

2007-10-26 Thread David Miller
From: Jeff Garzik <[EMAIL PROTECTED]> 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 uninterrupt

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

2007-10-24 Thread Jeff Garzik
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 <[EMAIL PROTECTED]> --- incl

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

2007-10-24 Thread Benjamin Herrenschmidt
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 <[EMAIL PROTECTED]> --- include/linux/netdevice.h |2 +-