Searched hist:"6352 b91d" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | ordered-data.h | 6352b91d Thu Sep 06 05:01:51 CDT 2012 Miao Xie <miaox@cn.fujitsu.com> Btrfs: use a slab for ordered extents allocation
The ordered extent allocation is in the fast path of the IO, so use a slab to improve the speed of the allocation.
"Size of the struct is 280, so this will fall into the size-512 bucket, giving 8 objects per page, while own slab will pack 14 objects into a page.
Another benefit I see is to check for leaked objects when the module is removed (and the cache destroy takes place)." -- David Sterba
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> 6352b91d Thu Sep 06 05:01:51 CDT 2012 Miao Xie <miaox@cn.fujitsu.com> Btrfs: use a slab for ordered extents allocation The ordered extent allocation is in the fast path of the IO, so use a slab to improve the speed of the allocation. "Size of the struct is 280, so this will fall into the size-512 bucket, giving 8 objects per page, while own slab will pack 14 objects into a page. Another benefit I see is to check for leaked objects when the module is removed (and the cache destroy takes place)." -- David Sterba Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
|
H A D | ordered-data.c | 6352b91d Thu Sep 06 05:01:51 CDT 2012 Miao Xie <miaox@cn.fujitsu.com> Btrfs: use a slab for ordered extents allocation
The ordered extent allocation is in the fast path of the IO, so use a slab to improve the speed of the allocation.
"Size of the struct is 280, so this will fall into the size-512 bucket, giving 8 objects per page, while own slab will pack 14 objects into a page.
Another benefit I see is to check for leaked objects when the module is removed (and the cache destroy takes place)." -- David Sterba
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> 6352b91d Thu Sep 06 05:01:51 CDT 2012 Miao Xie <miaox@cn.fujitsu.com> Btrfs: use a slab for ordered extents allocation The ordered extent allocation is in the fast path of the IO, so use a slab to improve the speed of the allocation. "Size of the struct is 280, so this will fall into the size-512 bucket, giving 8 objects per page, while own slab will pack 14 objects into a page. Another benefit I see is to check for leaked objects when the module is removed (and the cache destroy takes place)." -- David Sterba Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
|
H A D | super.c | 6352b91d Thu Sep 06 05:01:51 CDT 2012 Miao Xie <miaox@cn.fujitsu.com> Btrfs: use a slab for ordered extents allocation
The ordered extent allocation is in the fast path of the IO, so use a slab to improve the speed of the allocation.
"Size of the struct is 280, so this will fall into the size-512 bucket, giving 8 objects per page, while own slab will pack 14 objects into a page.
Another benefit I see is to check for leaked objects when the module is removed (and the cache destroy takes place)." -- David Sterba
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
|