Re: [PATCH v4 1/5] powerpc/mm/slice: Remove intermediate bitmap copy

2018-02-10 Thread Christophe LEROY
Le 10/02/2018 à 15:43, Nicholas Piggin a écrit : On Sat, 10 Feb 2018 13:54:25 +0100 (CET) Christophe Leroy wrote: bitmap_or() and bitmap_andnot() can work properly with dst identical to src1 or src2. There is no need of an intermediate result bitmap that is copied back to dst in a second ste

Re: [PATCH v4 1/5] powerpc/mm/slice: Remove intermediate bitmap copy

2018-02-10 Thread Nicholas Piggin
On Sat, 10 Feb 2018 13:54:25 +0100 (CET) Christophe Leroy wrote: > bitmap_or() and bitmap_andnot() can work properly with dst identical > to src1 or src2. There is no need of an intermediate result bitmap > that is copied back to dst in a second step. Everyone seems to be working on the slice co

[PATCH v4 1/5] powerpc/mm/slice: Remove intermediate bitmap copy

2018-02-10 Thread Christophe Leroy
bitmap_or() and bitmap_andnot() can work properly with dst identical to src1 or src2. There is no need of an intermediate result bitmap that is copied back to dst in a second step. Signed-off-by: Christophe Leroy Reviewed-by: Aneesh Kumar K.V --- v2: New in v2 v3: patch moved up front of the s