Re: [PATCH] umh: Optimize 'proc_cap_handler()'

2017-11-10 Thread Luis R. Rodriguez
On Fri, Oct 20, 2017 at 09:33:31PM +0200, Christophe JAILLET wrote: > If 'write' is 0, we can avoid a call to spin_lock/spin_unlock. > > Signed-off-by: Christophe JAILLET Thanks for the patch! Acked-by: Luis R. Rodriguez I'll bounce a copy to Andrew for integration next. Luis > --- > ke

Re: [PATCH] umh: Optimize 'proc_cap_handler()'

2017-11-07 Thread Luis R. Rodriguez
On Fri, Oct 20, 2017 at 09:33:31PM +0200, Christophe JAILLET wrote: > If 'write' is 0, we can avoid a call to spin_lock/spin_unlock. > > Signed-off-by: Christophe JAILLET Sorry for the delay, I was travelling and will start nose diving now. I hope to have a concrete review and answer by tomorro