Files
mirror_zfs/module/splat
Brian Behlendorf efcd0ca32d Enhance SPLAT kmem:slab_overcommit test
After the emergency slab objects were merged I started observing
timeout failures in the kmem:slab_overcommit test.  These were
due to the ineffecient way the slab_overcommit reclaim function
was implemented.  And due to the additional cost of potentially
allocating ten of thousands of emergency objects and tracking
them on a single list.

This patch addresses the first concern by enhansing the test
case to trace all of the allocations objects as a linked list.
This allows for a cleaner version of the reclaim function to
simply release SPLAT_KMEM_OBJ_RECLAIM objects.

Since this touches some common code all the tests which share
these data structions were also updated.  After making these
changes slab_overcommit is reliably passing.  However, there
is certainly additional cleanup which could be done here.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2012-08-30 15:49:00 -07:00
..
2010-07-20 13:29:35 -07:00
2010-05-17 15:18:00 -07:00
2011-06-21 14:02:46 -07:00
2010-05-17 15:18:00 -07:00
2011-06-21 14:02:46 -07:00
2010-05-17 15:18:00 -07:00
2010-06-28 16:02:57 -07:00
2010-05-17 15:18:00 -07:00
2010-11-09 10:18:01 -08:00
2012-01-18 10:36:51 -08:00
2010-05-17 15:18:00 -07:00
2011-02-25 16:56:46 -08:00