Re: [PATCH net-next] af_unix: optimize unix_writable by inlining

2015-11-02 Thread Aaron Conole
David Miller writes: > From: Aaron Conole > Date: Mon, 2 Nov 2015 12:01:59 -0500 > >> unix_writable() originally was inlined, but was changed as part of >> commit 1586a5877db9 ("af_unix: do not report POLLOUT on >> listeners"). Re-enable the inline flag. >> >> Signed-off-by: Aaron Conole > >

Re: [PATCH net-next] af_unix: optimize unix_writable by inlining

2015-11-02 Thread Eric Dumazet
On Mon, 2015-11-02 at 12:01 -0500, Aaron Conole wrote: > unix_writable() originally was inlined, but was changed as part of > commit 1586a5877db9 ("af_unix: do not report POLLOUT on > listeners"). Re-enable the inline flag. > > Signed-off-by: Aaron Conole > Cc: Eric Dumazet > --- We leave this

Re: [PATCH net-next] af_unix: optimize unix_writable by inlining

2015-11-02 Thread David Miller
From: Aaron Conole Date: Mon, 2 Nov 2015 12:01:59 -0500 > unix_writable() originally was inlined, but was changed as part of > commit 1586a5877db9 ("af_unix: do not report POLLOUT on > listeners"). Re-enable the inline flag. > > Signed-off-by: Aaron Conole This is never appropriate. The comp

[PATCH net-next] af_unix: optimize unix_writable by inlining

2015-11-02 Thread Aaron Conole
unix_writable() originally was inlined, but was changed as part of commit 1586a5877db9 ("af_unix: do not report POLLOUT on listeners"). Re-enable the inline flag. Signed-off-by: Aaron Conole Cc: Eric Dumazet --- net/unix/af_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi