On Mon, Aug 09, 2021 at 09:23:00AM -0700, Linus Torvalds wrote:
On Mon, Aug 9, 2021 at 2:52 AM gregkh@linuxfoundation.org wrote:
The patch below does not apply to the 4.4-stable tree.
It shouldn't.
The pipe buffer accounting and soft limits that introduced the whole "limp along with limited pipe buffers" behavior that this fixes was introduced by
Fixes: 759c01142a ("pipe: limit the per-user amount of pages allocated in pipes")
..which made it into 4.5.
So 4.4 is unaffected and doesn't want this patch.
But that commit showed up in 4.4.13 as fa6d0ba12a8e ("pipe: limit the per-user amount of pages allocated in pipes") which is why I asked about this. The code didn't look similar at all, so I couldn't easily figure out the backport myself :(
Willy, any ideas?
thanks,
greg k-h