summaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2011-08-01 21:38:06 -0700
committerroot <root@serles.lst.de>2011-10-28 14:58:57 +0200
commit6e8267f532a17165ab551ac5fdafcba5333dcca5 (patch)
tree7181c144b28f37d27275f74a538b01f891e149f7 /fs/buffer.c
parent0dc2bc49be545626a2dc6da133202ffe69ac3fcc (diff)
downloadop-kernel-dev-6e8267f532a17165ab551ac5fdafcba5333dcca5.zip
op-kernel-dev-6e8267f532a17165ab551ac5fdafcba5333dcca5.tar.gz
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 <ak@linux.intel.com> Acked-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud