git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dc2bc4
)
direct-io: use a slab cache for struct dio
author
Andi Kleen
<ak@linux.intel.com>
Tue, 2 Aug 2011 04:38:06 +0000
(21:38 -0700)
committer
root
<root@serles.lst.de>
Fri, 28 Oct 2011 12:58:57 +0000
(14:58 +0200)
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>
fs/direct-io.c
patch
|
blob
|
history
diff --cc
fs/direct-io.c
Simple merge