Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1158310 > unrolled thread

Re: [PATCH 2/2] time: allow gcc to fold constants when possible

Started byNicholas Mc Guire <der.herr@hofr.at>
First post2015-06-04 09:30 +0200
Last post2015-06-04 09:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/2] time: allow gcc to fold constants when possible Nicholas Mc Guire <der.herr@hofr.at> - 2015-06-04 09:30 +0200

#1158310 — Re: [PATCH 2/2] time: allow gcc to fold constants when possible

FromNicholas Mc Guire <der.herr@hofr.at>
Date2015-06-04 09:30 +0200
SubjectRe: [PATCH 2/2] time: allow gcc to fold constants when possible
Message-ID<pxxLb-27e-17@gated-at.bofh.it>
On Tue, 02 Jun 2015, Thomas Gleixner wrote:

> On Thu, 28 May 2015, Joe Perches wrote:
> > On Thu, 2015-05-28 at 19:09 +0200, Nicholas Mc Guire wrote:
> > > To allow constant folding in usecs_to_jiffies() conditionally calls
> > > the HZ dependent _usecs_to_jiffies() helpers or, when gcc can not
> > > figure out constant folding, __usecs_to_jiffies, which is the renamed
> > > original usecs_to_jiffies() function.
> > 
> > Hi Nicholas.
> > 
> > Thanks for following through with this.
> > 
> > The subject might be nicer if it referenced usecs_to_jiffies
> > instead of being a bit generic.
> > 
> > Maybe something like:
> > 
> > time: allow gcc to fold usecs_to_jiffies(constant)
> 
> And for correctness sake the first letter after the colon, i.e. the
> one starting the sentence wants to be uppercase.
> 
added to my list of checks - sorry for being sloppy on that

> I'm going to fix that up all together when applying the lot. No need
> for resend.
>

thanks !
hofrat
--
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web