aboutsummaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-05-19 16:53:13 -0700
committerBrian Behlendorf <[email protected]>2010-05-19 16:53:13 -0700
commit5198ea0e713895efc06f1254e009e2271436fc6f (patch)
tree967f9ae9506768c3f27ae590e187919923edd4c9 /patches
parent627a74972c23ddd2d27163213317cdfa878eb4d7 (diff)
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.
Diffstat (limited to 'patches')
0 files changed, 0 insertions, 0 deletions