Files
mirror_zfs/module/zfs
Brian Behlendorf a3fd9d9e15 Convert zio_buf_alloc() consumers
In multiple cases zio_buf_alloc() was used instead of kmem_alloc()
or vmem_alloc().  This was often done because the allocations
could be large and it was easy to use zfs_buf_alloc() for them.

But this isn't ideal for allocations which are small or short
lived.  In these cases it is better to use kmem_alloc() or
vmem_alloc().  If possible we want to avoid the case where
we have slabs allocated for kmem caches which are rarely used.

Note for small allocations vmem_alloc() will be internally
converted to kmem_alloc().  Therefore as long as large
allocations are infrequent and short lived the penalty for
using vmem_alloc() is small.

Reviewed-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #5409
2016-11-30 16:18:20 -07:00
..
2016-11-29 14:34:33 -08:00
2015-01-16 14:41:26 -08:00
2016-01-08 15:08:19 -08:00
2016-11-30 16:18:20 -07:00
2015-01-16 14:41:26 -08:00
2016-11-02 12:14:45 -07:00
2016-06-28 13:47:02 -07:00
2016-10-08 14:57:56 -07:00
2013-12-18 16:46:35 -08:00
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2015-12-22 10:21:33 -08:00
2016-04-21 09:49:25 -07:00
2016-06-21 09:58:37 -07:00
2016-11-30 16:18:20 -07:00
2010-08-31 13:41:58 -07:00
2016-08-11 11:23:49 -07:00
2016-11-30 16:18:20 -07:00
2016-11-29 14:34:32 -08:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2013-10-31 14:58:04 -07:00
2016-11-30 16:18:20 -07:00
2010-08-31 13:41:58 -07:00
2015-09-04 16:08:14 -07:00
2016-09-21 18:09:00 -07:00
2016-09-21 18:09:00 -07:00
2016-11-30 16:18:20 -07:00
2016-11-07 11:04:44 -08:00
2016-11-10 08:50:32 -08:00
2016-11-04 10:46:40 -07:00
2016-05-31 16:04:26 -07:00
2016-11-02 12:14:45 -07:00