Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp740988pxb; Tue, 5 Apr 2022 21:14:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRq80ahKICFOnnJZE+gopuJ5K/9mvEBkOVdGzfPCyBPwF/NWu3iYQRrCrXlhYtlIlypuvX X-Received: by 2002:a65:4081:0:b0:381:6ff8:f4ba with SMTP id t1-20020a654081000000b003816ff8f4bamr5436852pgp.457.1649218482195; Tue, 05 Apr 2022 21:14:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649218482; cv=none; d=google.com; s=arc-20160816; b=Ud6yAzKmrArN04ZT1FCq5Ng7uVCvj/de+VwMLsduOleSrJPbCjYGHRNomU//vNoIep A2Qr3YO9iBcZLAIm+HKK/PqqdfagH+g5NnNgB02m/+80z7+4TIeEdrkpnqPuzHnjwC4i eyPS+K2hQbf2ksXlfhTP9ASyK4Rqya2VhBxzzGrt4sVr4pBVKDMk00tuLr40JbeCjDSB 2zvLDFRwGWCd1O3+3/owZpA/YRDQwDPKHn7eVnydcFu0KZ8t3RT50dqip2nDz7jfv1+b os1QoEymrpkZqLxdRdj2tUet2Bg/bueM70TBUz9sRui7C9u6mLONTUxV8b0TRXb3IbJe YqFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2yS9V+0/LXGdUrwxHrWBzaodqbBMsvJpdlWDTX+ER8U=; b=DWJjSdtZFJxMKQ6KJ4Z5kOLHpBJDpSOdrqAYgGDosnBKuKx7UECN/1kkQf58luf7W8 AElebPVjh64kQ6dPRnxUwtF0mFxxb5Pfjwshef8pwfp6IA6+NVixClZ/tfriHE9Gxold CoJFqgJrX9BtINaeaghxC1/9et3EGfW4kwsLmjBe51+sEj2pLJQCV6IvvBX7CEo+gYuh 2wLwsUdJyPYvp5G3jfd5DQEgzQStO2COAklrQMtA0A1cr3dnE0QXSuNwoR5UjYclxFJs XHg/EjsRxIE1BHwwtc27+sHso8TFrBAcylOs2mhBud6fuXIN14V+tU99qQcnUNIHt7ee DhWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MoXrMH7c; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q10-20020a056a00084a00b004fa8ece959esi15524842pfk.37.2022.04.05.21.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 21:14:42 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MoXrMH7c; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 968DB2AE10E; Tue, 5 Apr 2022 21:07:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1581629AbiDEXkN (ORCPT + 99 others); Tue, 5 Apr 2022 19:40:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348793AbiDEJsg (ORCPT ); Tue, 5 Apr 2022 05:48:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B568D7C79B; Tue, 5 Apr 2022 02:35:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4F3BB61675; Tue, 5 Apr 2022 09:35:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 595AEC385A2; Tue, 5 Apr 2022 09:35:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649151327; bh=02dv/ZLkwro8smZ+5sfM5x9qxyapHlnEig4S46FWkbY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MoXrMH7ccq4KU9SalWfFHiKjRUxDNCYI0L+EOwa0DsFpLePiHzU+UMp8LpIMXPW2z mMWB4UzRgd4k0CzLcDIpw5DkBZ/6XVGJDXvFeJD8t2VEF56BPHsRtXpbBvoeJnjEr7 I4sKv7R7gN+U/dKWHn2Sl5c7v6jktP0Mv1yi+7kk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexey Dobriyan , Richard Fitzgerald , Andrew Morton , Linus Torvalds , Sasha Levin Subject: [PATCH 5.15 327/913] lib: uninline simple_strntoull() as well Date: Tue, 5 Apr 2022 09:23:09 +0200 Message-Id: <20220405070349.652301661@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexey Dobriyan [ Upstream commit 839b395eb9c13ae56ea5fc3ca9802734a72293f0 ] Codegen become bloated again after simple_strntoull() introduction add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-224 (-224) Function old new delta simple_strtoul 5 2 -3 simple_strtol 23 20 -3 simple_strtoull 119 15 -104 simple_strtoll 155 41 -114 Link: https://lkml.kernel.org/r/YVmlB9yY4lvbNKYt@localhost.localdomain Signed-off-by: Alexey Dobriyan Cc: Richard Fitzgerald Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Sasha Levin --- lib/vsprintf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index ec07f6312445..0621bbb20e0f 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -54,8 +54,7 @@ #include #include "kstrtox.h" -static unsigned long long simple_strntoull(const char *startp, size_t max_chars, - char **endp, unsigned int base) +static noinline unsigned long long simple_strntoull(const char *startp, size_t max_chars, char **endp, unsigned int base) { const char *cp; unsigned long long result = 0ULL; -- 2.34.1