Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752092AbbDEJeF (ORCPT ); Sun, 5 Apr 2015 05:34:05 -0400 Received: from smtprelay0075.hostedemail.com ([216.40.44.75]:42577 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751320AbbDEJeA (ORCPT ); Sun, 5 Apr 2015 05:34:00 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::,RULES_HIT:41:355:379:541:599:981:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1537:1561:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3622:3867:3868:3870:3874:4321:4362:5007:6119:6261:7903:10004:10400:10848:11232:11658:11914:12114:12517:12519:12740:13069:13153:13228:13311:13357:21080,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 X-HE-Tag: mouth61_3f98789925418 X-Filterd-Recvd-Size: 1372 Message-ID: <1428226435.2775.57.camel@perches.com> Subject: Re: [PATCH 0/3] time: use __builtin_constant_p() in msecs_to_jiffies From: Joe Perches To: Nicholas Mc Guire Cc: Michal Marek , Masahiro Yamada , Sam Ravnborg , Thomas Gleixner , "H. Peter Alvin" , John Stultz , Andrew Hunter , Paul Turner , linux-kernel@vger.kernel.org Date: Sun, 05 Apr 2015 02:33:55 -0700 In-Reply-To: <1428218636-3780-1-git-send-email-hofrat@osadl.org> References: <1428218636-3780-1-git-send-email-hofrat@osadl.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 530 Lines: 14 On Sun, 2015-04-05 at 09:23 +0200, Nicholas Mc Guire wrote: > Allowing gcc to fold constants for these calls that in most > cases are passing in constants (roughly 95%) has some potential > to improve performance (and should save a few bytes). Thanks for working on this Nicholas. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/