mirror_zfs/module/spl
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
..
.gitignore sun-misc-gitignore 2010-01-08 09:37:54 -08:00
Makefile.in Add basic credential support and splat tests. 2009-07-27 17:18:59 -07:00
spl-atomic.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-condvar.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-cred.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-debug.c Set default debug log patch to /tmp/spl-log. 2010-05-19 16:17:06 -07:00
spl-err.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-generic.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-kmem.c Remove kmem_set_warning() interface replace with __GFP_NOWARN flag. 2010-05-19 16:53:13 -07:00
spl-kobj.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-kstat.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-module.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-mutex.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-proc.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-rwlock.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-taskq.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-thread.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-time.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-vnode.c Public Release Prep 2010-05-17 15:18:00 -07:00
spl-xdr.c Public Release Prep 2010-05-17 15:18:00 -07:00