From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35E16C4360F for ; Tue, 2 Apr 2019 11:10:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 04EF72133D for ; Tue, 2 Apr 2019 11:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554203407; bh=BHXtPR4mo60+shL/pZju0ayNTt4irIcG6kH9W4xZ8kg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=pCHVWkvBdHfKL4szDZ0SLH6Yvhgr2LBSjz2whVxTLrbBbLN9C8pNcfkBw2bydFDx4 mA/c425J0iA2POVO8HysVAzd5O9Xt44A2XuvnorJpn//fwooQRJVq8G4GAIIUujGzi COJNLJZo9ns/2atoz+SuvytlyEJkVcYuxnonV44g= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728359AbfDBLKG (ORCPT ); Tue, 2 Apr 2019 07:10:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:33266 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725922AbfDBLKG (ORCPT ); Tue, 2 Apr 2019 07:10:06 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 260AC20857; Tue, 2 Apr 2019 11:10:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554203405; bh=BHXtPR4mo60+shL/pZju0ayNTt4irIcG6kH9W4xZ8kg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2N4ohzshikzqkyPVJaN7FFSGSbZbNQ8rooWhhIliBnB2OpFKtqEJIYifWOwv9VTbc vp9WHz0GoRQvliN9TF7LkAmhdJzRCZyKLDYUB+dh7P4nQflPwV/Pw6aRJUImTqvf4A kEYoW1srHt4/b1VQUfFLl81hel2lZvIbHkTAuPkk= Date: Tue, 2 Apr 2019 13:10:03 +0200 From: Greg Kroah-Hartman To: Joe Perches Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, "Peter Zijlstra (Intel)" , Anshul Garg , Linus Torvalds , Davidlohr Bueso , Thomas Gleixner , Ingo Molnar , Will Deacon , David Miller , Matthew Wilcox , Kees Cook , Michael Davidson , Andrew Morton , Arnd Bergmann Subject: Re: [PATCH 4.4 034/131] lib/int_sqrt: optimize small argument Message-ID: <20190402111003.GB18896@kroah.com> References: <20190401170051.645954551@linuxfoundation.org> <20190401170055.035782875@linuxfoundation.org> <20190402065958.GA21380@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Apr 02, 2019 at 02:00:06AM -0700, Joe Perches wrote: > On Tue, 2019-04-02 at 08:59 +0200, Greg Kroah-Hartman wrote: > > On Mon, Apr 01, 2019 at 10:42:52AM -0700, Joe Perches wrote: > > > On Mon, 2019-04-01 at 19:01 +0200, Greg Kroah-Hartman wrote: > > > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > > > If this is to be ported just for an optimization > > > (which I think is dubious as it's not a bug fix), > > > > Yes, it was requested to be backported because of that. > > > > > why not port the __fls optimization too? > > > > > > __fls has a bigger effect on performance. > > > > What commit are you referring to? > > f8ae107eef209bff29a5816bc1aad40d5cd69a80 Thanks for the commit id, I'll look into adding that to a later round of kernel releases. greg k-h