lockdep warning: fs_reclaim_acquire vs tcp_sendpage

Daniel Wagner dwagner at suse.de
Fri Oct 21 03:11:14 PDT 2022


On Thu, Oct 20, 2022 at 07:20:13PM +0300, Sagi Grimberg wrote:
> 
> > > Just for the experiment, can you try with this change:
> > 
> > Good call, this seems to do the trick. The splat is gone with it.
> 
> OK, it doesn't say much because it is just one of many conditions
> that can make a socket release to allocate an skb and send a tcp
> RST, which can happen under memory pressure.
> 
> It's also not a great option to set a minimum linger of 1, which means
> that if the controller is not accessible, we can block for 1 second
> per queue, which is awful.
> 
> Does this change also make the issue go away?

Yes, with this patch alone the lockdep splat is gone.



More information about the Linux-nvme mailing list