Re: [PATCH] mm, slab_common: add 'unlikely' to size check ofkmalloc_slab()

From: Christoph Lameter
Date: Fri Aug 02 2013 - 10:49:58 EST


On Fri, 2 Aug 2013, Joonsoo Kim wrote:

> Size is usually below than KMALLOC_MAX_SIZE.
> If we add a 'unlikely' macro, compiler can make better code.

Acked-by: Christoph Lameter <cl@xxxxxxxxx>
--
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/