Files
mirror_zfs/module/spl
Brian Behlendorf cb81c0c588 Increase spl_kmem_alloc_warn limit
In order to support ABD with large blocks the spl_kmem_alloc_warn
limit needs to be increased to 64K.

A 16M block requires that pointers be stored for 4096 4K-pages
on an x86_64 system.  Each of these pointers is 8 bytes requiring
an allocation of 8*4096=32,768 bytes.  The addition of a small
header to this structure pushes the allocation over the default
32K warning threshold.

In addition, fix a small bug where MAX was used instead of MIN
when setting the default.  This ensures a reasonable limit is
still set on systems with page sizes larger then 4K.

Reviewed-by: David Quigley <david.quigley@intel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #571
2016-09-16 17:10:36 -07:00
..
2013-03-04 19:09:34 -08:00
2014-10-17 15:11:51 -07:00
2016-06-01 10:26:42 -07:00
2016-09-16 17:10:36 -07:00
2015-01-16 13:55:08 -08:00
2015-12-16 09:35:22 -08:00
2016-01-20 13:07:45 -08:00
2015-01-16 13:55:08 -08:00