OpenZFS on Linux and FreeBSD
Go to file
Brian Behlendorf 5198ea0e71 Remove kmem_set_warning() interface replace with __GFP_NOWARN flag.
Remove the kmem_set_warning() hack used by the kmem-splat regression
tests with a per-allocation flag called __GFP_NOWARN.  This matches
the lower level linux flag of similar by slightly different function.
The idea is you can then explicitly set this flag on requests where
you know your breaking the max 8k rule but you need/want to do it
anyway.

This is currently used by the regression tests where we intentionally
push things to the limit but don't want the log noise.  Additionally,
we are forced to use it in spl_kmem_cache_create() because by default
NR_CPUS is very large and theres no easy way to handle that.

Finally, I've added a stack_dump() call to the warning when it is
trigger to make to clear exactly where the allocation is taking place.
2010-05-19 16:53:13 -07:00
cmd Public Release Prep 2010-05-17 15:18:00 -07:00
config Public Release Prep 2010-05-17 15:18:00 -07:00
include Public Release Prep 2010-05-17 15:18:00 -07:00
lib Public Release Prep 2010-05-17 15:18:00 -07:00
module Remove kmem_set_warning() interface replace with __GFP_NOWARN flag. 2010-05-19 16:53:13 -07:00
patches Reimplement rwlocks for Linux lock profiling/analysis. 2009-09-18 16:09:47 -07:00
scripts Public Release Prep 2010-05-17 15:18:00 -07:00
.gitignore Ignore unsigned module build products 2010-03-11 14:29:17 -08:00
AUTHORS Public Release Prep 2010-05-17 15:18:00 -07:00
COPYING Public Release Prep 2010-05-17 15:18:00 -07:00
ChangeLog Prep for 0.4.9 tag, updated META and ChangeLog 2010-05-17 15:47:24 -07:00
DISCLAIMER Public Release Prep 2010-05-17 15:18:00 -07:00
INSTALL Public Release Prep 2010-05-17 15:18:00 -07:00
META Prep for 0.4.9 tag, updated META and ChangeLog 2010-05-17 15:47:24 -07:00
Makefile.am Allow spl_config.h to be included by dependant packages (updated) 2010-03-22 14:45:33 -07:00
Makefile.in Public Release Prep 2010-05-17 15:18:00 -07:00
autogen.sh Public Release Prep 2010-05-17 15:18:00 -07:00
configure Add support for 'make -s' silent builds 2010-03-26 15:41:17 -07:00
configure.ac Public Release Prep 2010-05-17 15:18:00 -07:00
spl-modules.spec.in Minor spec file cleanup for srpm case. 2010-05-18 09:18:20 -07:00
spl.spec.in Remove usage of the __id_u macro for portability. 2009-10-05 12:51:58 -07:00
spl_config.h.in Add support for 'make -s' silent builds 2010-03-26 15:41:17 -07:00