From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3zwd2r6jHjzDrYg for ; Wed, 7 Mar 2018 00:31:16 +1100 (AEDT) In-Reply-To: <455276187b369bf019e91715b7488e86cd932d49.1519305410.git.christophe.leroy@c-s.fr> To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Scott Wood , aneesh.kumar@linux.vnet.ibm.com From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Nicholas Piggin Subject: Re: [v5,1/6] powerpc/mm/slice: Remove intermediate bitmap copy Message-Id: <3zwd2r4F6mz9sgl@ozlabs.org> Date: Wed, 7 Mar 2018 00:31:16 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2018-02-22 at 14:27:20 UTC, 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. > > Signed-off-by: Christophe Leroy > Reviewed-by: Aneesh Kumar K.V > Reviewed-by: Nicholas Piggin Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/326691ad4f179e6edc7eb1271e618d cheers