mirror_zfs/module
Brian Behlendorf 641bebe35f Fix kmem:slab_overcommit regression test locking
This regression test could crash in splat_kmem_cache_test_reclaim()
due to a race between the slab relclaim and the normal exiting of
the thread.  Specifically, the kct structure could be free'd by
the thread performing the allocations while the reclaim function
was also working on that's threads kct structure.  The simplest
fix is to extend the kcp->kcp_lock over the reclaim to prevent
the kct from being freed.  A better fix would be to ref count
these structures, but since is just a regression this locking
change is enough.  Surprisingly this was only observed commonly
under RHEL5.4 but all platform could have hit this.
2009-12-23 12:46:11 -08:00
..
spl Add skc_flags and full header to /proc/spl/kmem/slab. 2009-12-11 11:20:08 -08:00
splat Fix kmem:slab_overcommit regression test locking 2009-12-23 12:46:11 -08:00
Makefile.in Packaging Fixes 2009-06-25 15:31:53 -07:00