Brian Behlendorf c7db36a3c4 Optimize vmem_alloc() retry path
For performance reasons the reworked kmem code maps vmem_alloc() to
kmalloc_node() for allocations less than spa_kmem_alloc_max.  This
allows for more concurrency in the system and less contention of
the virtual address space.  Generally, this is a good thing.

However, in the case when the kmalloc_node() fails it makes little
sense to retry it using kmalloc_node() again.  It will likely fail
in exactly the same way.  A smarter strategy is to abandon this
optimization and retry using spl_vmalloc() which is very likely
to succeed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ned Bass <bass6@llnl.gov>
Closes #428
2015-02-02 10:57:56 -08:00
..
2015-01-16 13:55:08 -08:00
2013-03-04 19:09:34 -08:00
2015-01-16 13:55:08 -08:00
2014-10-17 15:11:51 -07:00
2015-01-16 13:55:08 -08:00
2015-02-02 10:57:56 -08:00
2015-01-21 15:25:19 -08:00
2015-01-16 13:55:08 -08:00
2013-03-04 19:09:34 -08:00
2015-01-21 15:25:19 -08:00
2015-01-16 13:55:08 -08:00