From: Andi Kleen Date: Tue, 2 Aug 2011 04:38:06 +0000 (-0700) Subject: direct-io: use a slab cache for struct dio X-Git-Tag: v3.2-rc1~131^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e8267f532a17165ab551ac5fdafcba5333dcca5;p=pandora-kernel.git direct-io: use a slab cache for struct dio 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 Acked-by: Jeff Moyer Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed