[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 08 Aug 2011 14:01:37 -0400
From: Jeff Moyer <jmoyer@...hat.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
hch@...radead.org, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 04/11] DIO: Use a slab cache for struct dio
Andi Kleen <andi@...stfloor.org> writes:
> From: Andi Kleen <ak@...ux.intel.com>
>
> A direct slab call is slightly faster than kmalloc and can be better cached
> per CPU. It also avoids rounding to the next kmalloc slab.
>
> In addition this enforces cache line alignment for struct dio to avoid
> any false sharing.
>
> Signed-off-by: Andi Kleen <ak@...ux.intel.com>
Acked-by: Jeff Moyer <jmoyer@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists