Re: [PATCH] mm: percpu: micro-optimize round-to-even

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]