Received: by 10.223.185.116 with SMTP id b49csp3816724wrg; Tue, 6 Mar 2018 05:33:38 -0800 (PST) X-Google-Smtp-Source: AG47ELtOH6suY9SXKQOR7JJ9Q8hKc9wwNX7qM+xI88SmVwZ8U9Qot30PWjiQzgZA1UZRQ/72dlCM X-Received: by 2002:a17:902:12d:: with SMTP id 42-v6mr17077224plb.141.1520343218679; Tue, 06 Mar 2018 05:33:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520343218; cv=none; d=google.com; s=arc-20160816; b=Z0v335t8qHEALh2dq6oQFAbact52Jy46/hxIXnJBuZLxbGfP59ZcALMpZmjq93TGOv rLW5XYtKXjKWQa+Yn9WcLAomRH++nbT4bBbnbTUzGS2rE2QMzqK4w+5qctzOKyN9kahg t5KtGKNFVYxlu09TFCnlxmVHHvjcgrR7iwTGSlaeZYCrE8avHJlu//vD2m9DIam+o7T2 j0JfDDYmGH6rWDT3ohZKowEWnWJJOLOUGedD1sIyi7lyIIIOJy6jA7S25zDI4WQhELzt 71Kid4DkHF1wx00WD0Y7xV//WsLTfu52bojGxqjFGpYkWi/NOyUTAxsWsTzbVs6qApJ/ Urhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to:arc-authentication-results; bh=FbFG8kQ402BJiV3MNe71UCDe5685a9RJxSH6KpNsFlk=; b=cDYqfAt93GCyy8dfQG7xJHpme/H6dBN37/qsSXWxVHfGt6x4/79s43ixt0Yd0uUL8D MwOH5nUt5+AxwN2TxNgHEudYApWpQLBqfDfdVLbJaUudLnO+4GXBHuEN6tmm7dVScMSB 2ftynt28envFleaYVzzLPXR7mfd7ReAuDn359AtThfOwgNVqQy9wO5DfpNnzIKJGWt+H qQehe8ButOIqlSgNt88FZeqxzoImxsKo65Pb6HbUfip8TQCou/u78AsJCKzTPB+NnCbA yLD/AbiJ6AVfA7IK1I74brIjIpQHbMjtR+FlekvZ3KfSL1VthGR0kxMhwS9RxLQKiLVv CXnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u186si9842497pgc.462.2018.03.06.05.33.24; Tue, 06 Mar 2018 05:33:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753692AbeCFNbT (ORCPT + 99 others); Tue, 6 Mar 2018 08:31:19 -0500 Received: from ozlabs.org ([103.22.144.67]:58245 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753530AbeCFNbS (ORCPT ); Tue, 6 Mar 2018 08:31:18 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 3zwd2r4F6mz9sgl; Wed, 7 Mar 2018 00:31:16 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 326691ad4f179e6edc7eb1271e618dd673e4736d 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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