mirror_zfs/module/splat
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
..
Makefile.in Add basic credential support and splat tests. 2009-07-27 17:18:59 -07:00
splat-atomic.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-condvar.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-cred.c Add basic credential support and splat tests. 2009-07-27 17:18:59 -07:00
splat-ctl.c Use kobject_set_name() for increased portability. 2009-10-02 16:21:59 -07:00
splat-generic.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-internal.h Reimplement rwlocks for Linux lock profiling/analysis. 2009-09-18 16:09:47 -07:00
splat-kmem.c Fix kmem:slab_overcommit regression test locking 2009-12-23 12:46:11 -08:00
splat-kobj.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-list.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-mutex.c Reimplement mutexs for Linux lock profiling/analysis 2009-09-25 14:47:01 -07:00
splat-random.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-rwlock.c Type long expected explicitly cast for 32-bit systems. 2009-12-01 10:14:01 -08:00
splat-taskq.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-thread.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-time.c SLES10 Fixes (part 9) 2009-05-21 10:56:11 -07:00
splat-vnode.c Splat vnode tests must return negative error codes. 2009-12-10 15:06:07 -08:00