Re: ifmedia status callback is non-sleepable

2017-02-09 Thread Sepherosa Ziehau
On Sat, Jan 28, 2017 at 3:37 AM, Gleb Smirnoff wrote: > Andrew, > > On Thu, Jan 26, 2017 at 08:24:43PM +0300, Andrew Rybchenko wrote: > A> I'd like to double-check that it is intended/known limitation on ifmedia > A> status callback to be non-sleepable. > A> The limitation is imposed by usage of

Re: ifmedia status callback is non-sleepable

2017-01-30 Thread Andrew Rybchenko
Navdeep, Gleb, On 01/27/2017 10:37 PM, Gleb Smirnoff wrote: Andrew, On Thu, Jan 26, 2017 at 08:24:43PM +0300, Andrew Rybchenko wrote: A> I'd like to double-check that it is intended/known limitation on ifmedia A> status callback to be non-sleepable. A> The limitation is imposed by usage of t

Re: ifmedia status callback is non-sleepable

2017-01-26 Thread Navdeep Parhar
I think it's a bad idea in general for the kernel to be holding non-sleepable locks around driver ioctls. Regards, Navdeep On Thu, Jan 26, 2017 at 9:19 AM, Andrew Rybchenko wrote: > Hello, > > I'd like to double-check that it is intended/known limitation on ifmedia > status callback to be non-sl