mirror_zfs/module/splat
Brian Behlendorf bf0c60c060 Add linux compatibility tests
While the splat tests were originally designed to stress test
the Solaris primatives.  I am extending them to include some kernel
compatibility tests.  Certain linux APIs have changed frequently.
These tests ensure that added compatibility is working properly
and no unnoticed regression have slipped in.

Test 1 and 2 add basic regression tests for shrink_icache_memory
and shrink_dcache_memory.  These are simply functional tests to
ensure we can call these functions safely.  Checking for correct
behavior is more difficult since other running processes will
influence the behavior.  However, these functions are provided
by the kernel so if we can successfully call them we assume they
are working correctly.

Test 3 checks that shrinker functions are being registered and
called correctly.  As of Linux 3.0 the shrinker API has changed
four different times so I felt the need to add a trivial test
case to ensure each variant works as expected.
2011-06-21 14:02:46 -07:00
..
.gitignore sun-misc-gitignore 2010-01-08 09:37:54 -08:00
Makefile.in Add linux compatibility tests 2011-06-21 14:02:46 -07:00
splat-atomic.c Split <sys/debug.h> header 2010-07-20 13:29:35 -07:00
splat-condvar.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-cred.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-ctl.c Add linux compatibility tests 2011-06-21 14:02:46 -07:00
splat-generic.c Add __divdi3(), remove __udivdi3() kernel dependency 2010-07-13 16:44:02 -07:00
splat-internal.h Add linux compatibility tests 2011-06-21 14:02:46 -07:00
splat-kmem.c Use KM_NODEBUG macro in preference to __GFP_NOWARN. 2010-05-20 14:16:59 -07:00
splat-kobj.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-linux.c Add linux compatibility tests 2011-06-21 14:02:46 -07:00
splat-list.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-mutex.c Treat mutex->owner as volatile 2010-06-28 16:02:57 -07:00
splat-random.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-rwlock.c Fix incorrect krw_type_t type 2010-11-09 10:18:01 -08:00
splat-taskq.c Fix taskq code to not drop tasks when TQ_SLEEP is used. 2010-08-02 11:20:31 -07:00
splat-thread.c Add Thread Specific Data (TSD) Regression Test 2010-12-07 10:02:44 -08:00
splat-time.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-vnode.c Remove VN_HOLD/VN_RELE/VOP_PUTPAGE 2011-01-12 11:38:05 -08:00
splat-zlib.c Add zlib regression test 2011-02-25 16:56:46 -08:00