Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755512AbcDLQO6 (ORCPT ); Tue, 12 Apr 2016 12:14:58 -0400 Received: from smtprelay0068.hostedemail.com ([216.40.44.68]:52171 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751290AbcDLQO5 (ORCPT ); Tue, 12 Apr 2016 12:14:57 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2553:2559:2562:2693:2828:3138:3139:3140:3141:3142:3352:3622:3865:3867:3870:3871:3872:3873:4250:4321:5007:6119:7903:8603:10004:10400:10848:11232:11658:11783:11914:12043:12517:12519:12555:12740:13069:13311:13357:13439:13894:14659:14721:21080:30054:30064:30070:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: crown21_650585532d156 X-Filterd-Recvd-Size: 1721 Message-ID: <1460477690.2507.5.camel@perches.com> Subject: Re: [PATCH v2] Bluetooth: Deinline large functions From: Joe Perches To: Denys Vlasenko , Johan Hedberg Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 12 Apr 2016 09:14:50 -0700 In-Reply-To: <570D1D9A.6030808@redhat.com> References: <1460399665-19626-1-git-send-email-dvlasenk@redhat.com> <1460433018.2507.1.camel@perches.com> <570D1D9A.6030808@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.2-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 841 Lines: 22 On Tue, 2016-04-12 at 18:08 +0200, Denys Vlasenko wrote: > On 04/12/2016 05:50 AM, Joe Perches wrote: > > > > On Mon, 2016-04-11 at 20:34 +0200, Denys Vlasenko wrote: > > > > > > Fastest existing Bluetooth standard's top speed is 2.4 MB/s. > > > It is way off from being CPU limited, no need to squeeze > > > last few cycles by excessive inlining. > > > > > > Size reduction is about 40k: > > > > > > ????text?????data??????bss???????dec?????hex filename > > > 95943139 20860256 35991552 152794947 91b7743 vmlinux_before > > > 95903714 20860256 35991552 152755522 91add42 vmlinux > > defconfig? > In defconfig, CONFIG_BT is not set, so there will be no change Which is why I set it in the defconfig size I sent. Also, you haven't responded at all to any performance decrease by uninline for low power/low frequency SOC embedded uses.