Message ID | cover.1671194454.git.bcodding@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | Stop corrupting socket's task_frag | expand |
Hello: This series was applied to netdev/net.git (master) by Jakub Kicinski <kuba@kernel.org>: On Fri, 16 Dec 2022 07:45:25 -0500 you wrote: > The networking code uses flags in sk_allocation to determine if it can use > current->task_frag, however in-kernel users of sockets may stop setting > sk_allocation when they convert to the preferred memalloc_nofs_save/restore, > as SUNRPC has done in commit a1231fda7e94 ("SUNRPC: Set memalloc_nofs_save() > on all rpciod/xprtiod jobs"). > > This will cause corruption in current->task_frag when recursing into the > network layer for those subsystems during page fault or reclaim. The > corruption is difficult to diagnose because stack traces may not contain the > offending subsystem at all. The corruption is unlikely to show up in > testing because it requires memory pressure, and so subsystems that > convert to memalloc_nofs_save/restore are likely to continue to run into > this issue. > > [...] Here is the summary with links: - [net,v4,1/3] net: Introduce sk_use_task_frag in struct sock. https://git.kernel.org/netdev/net/c/fb87bd47516d - [net,v4,2/3] Treewide: Stop corrupting socket's task_frag https://git.kernel.org/netdev/net/c/98123866fcf3 - [net,v4,3/3] net: simplify sk_page_frag https://git.kernel.org/netdev/net/c/08f65892c5ee You are awesome, thank you!