Re: [PATCH] staging/lustre: avoid zero buf for the first time

2016-08-26 Thread Oleg Drokin
Hello! On Aug 22, 2016, at 6:04 AM, Greg Kroah-Hartman wrote: > On Mon, Aug 22, 2016 at 04:46:04PM +0800, Shawn Lin wrote: >> We only need to zero it when repeating in order to >> avoid old garbage. Let's improve it by moving this >> before we repeat the calculation to save some cpu >> cycle. >>

Re: [PATCH] staging/lustre: avoid zero buf for the first time

2016-08-22 Thread Greg Kroah-Hartman
On Mon, Aug 22, 2016 at 04:46:04PM +0800, Shawn Lin wrote: > We only need to zero it when repeating in order to > avoid old garbage. Let's improve it by moving this > before we repeat the calculation to save some cpu > cycle. > > Signed-off-by: Shawn Lin Have you noticed a change with this in a