[Intel-wired-lan] [next PATCH] igb/igbvf: don't give up
Williams, Mitch A
mitch.a.williams at intel.com
Fri Dec 18 16:42:28 UTC 2015
Yes, these are called from interrupt context. So they can't sleep, no matter how tired they get.
-Mitch
> -----Original Message-----
> From: Rustad, Mark D
> Sent: Thursday, December 17, 2015 5:57 PM
> To: Brown, Aaron F
> Cc: Williams, Mitch A; intel-wired-lan at lists.osuosl.org
> Subject: Re: [Intel-wired-lan] [next PATCH] igb/igbvf: don't give up
>
> Aaron F <aaron.f.brown at intel.com> wrote:
>
> > Is there any reason not to use usleep_range here?
>
> Can the routines ever be called from any atomic context, such as an
> interrupt or while a lock is held? If so, you can't use any form of sleep.
>
> --
> Mark Rustad, Networking Division, Intel Corporation
More information about the Intel-wired-lan
mailing list