Re: [PATCH] mm: percpu: micro-optimize round-to-even
From: Tejun Heo
Date: Thu Jun 19 2014 - 10:35:14 EST
On Thu, Jun 19, 2014 at 09:29:52AM -0500, Christoph Lameter wrote:
> > > - if (unlikely(size & 1))
> > > - size++;
> > > + size += size & 1;
> >
> > I'm not gonna apply this. This isn't that hot a path. It's not
> > worthwhile to micro optimize code like this.
>
> Dont we have an ALIGN() macro for this?
Indeed, a patch?
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/