Re: "af_unix: conditionally use freezable blocking calls in read" is wrong

2016-12-06 Thread Colin Cross
On Mon, Dec 5, 2016 at 8:24 PM, Cong Wang wrote: > On Sun, Dec 4, 2016 at 7:52 PM, Al Viro wrote: >> On Sun, Dec 04, 2016 at 09:42:14PM -0500, David Miller wrote: >>> > I've run into that converting AF_UNIX to generic_file_splice_read(); >>> > I can kludge around that ("freezable unless ->msg

Re: [Patch net] af_unix: revert "af_unix: use freezable blocking calls in read"

2016-11-17 Thread Colin Cross
On Thu, Nov 17, 2016 at 2:09 PM, Cong Wang wrote: > Commit 2b15af6f95 ("af_unix: use freezable blocking calls in read") > converts schedule_timeout() to its freezable version, it was probably > correct at that time, but later, commit 2b514574f7e8 > ("net: af_unix: implement splice for stream af_un