Re: ppoll() stuck on POLLIN while TCP peer is sending
From: Eric Wong <hidden>
Date: 2013-01-03 23:46:01
Also in:
linux-mm, lkml
From: Eric Wong <hidden>
Date: 2013-01-03 23:46:01
Also in:
linux-mm, lkml
Eric Wong [off-list ref] wrote:
Eric Dumazet [off-list ref] wrote:quoted
With the following patch, I cant reproduce the 'apparent stuck'Right, the output is just an approximation and the logic there was bogus. Thanks for looking at this.
I'm still able to reproduce the issue under v3.8-rc2 with your patch for toosleepy. (As expected when blocked,) TCP send() will eventually return ETIMEOUT when I forget to check (and toosleepy will abort from it) I think this requires frequent dirtying/cycling of pages to reproduce. (from copying large files around) to interact with compaction. I'll see if I can reproduce the issue with read-only FS activity. With 3.7.1 and compaction/THP disabled, I was able to run ~21 hours and copy a few TB around without anything getting stuck. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>