Re: [PATCH] zram: reduce load operation in page_same_filled

2017-03-01 Thread Sergey Senozhatsky
On (03/02/17 16:02), Minchan Kim wrote: > Acked-by: Minchan Kim Reviewed-by: Sergey Senozhatsky thanks. -ss

Re: [PATCH] zram: reduce load operation in page_same_filled

2017-03-01 Thread Sergey Senozhatsky
On (03/02/17 16:02), Minchan Kim wrote: > Acked-by: Minchan Kim Reviewed-by: Sergey Senozhatsky thanks. -ss

Re: [PATCH] zram: reduce load operation in page_same_filled

2017-03-01 Thread Minchan Kim
Hi Sangwoo, On Thu, Mar 02, 2017 at 01:15:04PM +0900, Sangwoo wrote: > In page_same_filled function, all elements in the page is compared > with next index value. The current comparison routine compares > the (i)th and (i+1)th values of the page. > In this case, two load operaions occur for each

Re: [PATCH] zram: reduce load operation in page_same_filled

2017-03-01 Thread Minchan Kim
Hi Sangwoo, On Thu, Mar 02, 2017 at 01:15:04PM +0900, Sangwoo wrote: > In page_same_filled function, all elements in the page is compared > with next index value. The current comparison routine compares > the (i)th and (i+1)th values of the page. > In this case, two load operaions occur for each

[PATCH] zram: reduce load operation in page_same_filled

2017-03-01 Thread Sangwoo
In page_same_filled function, all elements in the page is compared with next index value. The current comparison routine compares the (i)th and (i+1)th values of the page. In this case, two load operaions occur for each comparison. But if we store first value of the page stores at 'val' variable

[PATCH] zram: reduce load operation in page_same_filled

2017-03-01 Thread Sangwoo
In page_same_filled function, all elements in the page is compared with next index value. The current comparison routine compares the (i)th and (i+1)th values of the page. In this case, two load operaions occur for each comparison. But if we store first value of the page stores at 'val' variable