From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH 1/2] make fls() and ffs() consistent across architectures Date: Fri, 23 Jan 2015 14:53:27 +0000 Message-ID: <54C26E770200007800058E3D@mail.emea.novell.com> References: <54C108910200007800058233@mail.emea.novell.com> <54C10B4F0200007800058252@mail.emea.novell.com> <54C25CDD.4080200@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YEfc1-0004BT-Ef for xen-devel@lists.xenproject.org; Fri, 23 Jan 2015 14:53:29 +0000 In-Reply-To: <54C25CDD.4080200@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Keir Fraser , Stefano Stabellini , Ian Jackson , Tim Deegan , Ian Campbell , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 23.01.15 at 15:38, wrote: > As for the x86 asm itself, what about > http://lkml.kernel.org/r/5058741E020000780009C014@nat28.tlf.novell.com ? > It would appear that the same optimisation is relevant for Xens __ffs() For find_first_set_bit() (and perhaps also __scanbit()) you mean? Indeed, and I'm sure I meant to pull it over - and then forgot after it got accepted. Will do that now. Jan