Re: [syzbot] BUG: sleeping function called from invalid context in _copy_to_iter

From: Eric Dumazet
Date: Tue Aug 10 2021 - 05:19:49 EST




On 8/9/21 10:31 PM, Shoaib Rao wrote:
>
> On 8/9/21 1:09 PM, Eric Dumazet wrote:

>> I am guessing that even your test would trigger the warning,
>> if you make sure to include CONFIG_DEBUG_ATOMIC_SLEEP=y in your kernel build.
>
> Eric,
>
> Thanks for the pointer, have you ever over looked at something when coding?
>

I _think_ I was trying to help, not shaming you in any way.

My question about spinlock/mutex was not sarcastic, you authored
6 official linux patches, there is no evidence for linux kernel expertise.