ia64/linux-2.6.18-xen.hg

annotate scripts/rt-tester/t2-l2-2rt-deadlock.tst @ 912:dd42cdb0ab89

[IA64] Build blktap2 driver by default in x86 builds.

add CONFIG_XEN_BLKDEV_TAP2=y to buildconfigs/linux-defconfig_xen_ia64.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 12:09:16 2009 +0900 (2009-06-29)
parents 831230e53067
children
rev   line source
ian@0 1 #
ian@0 2 # RT-Mutex test
ian@0 3 #
ian@0 4 # Op: C(ommand)/T(est)/W(ait)
ian@0 5 # | opcode
ian@0 6 # | | threadid: 0-7
ian@0 7 # | | | opcode argument
ian@0 8 # | | | |
ian@0 9 # C: lock: 0: 0
ian@0 10 #
ian@0 11 # Commands
ian@0 12 #
ian@0 13 # opcode opcode argument
ian@0 14 # schedother nice value
ian@0 15 # schedfifo priority
ian@0 16 # lock lock nr (0-7)
ian@0 17 # locknowait lock nr (0-7)
ian@0 18 # lockint lock nr (0-7)
ian@0 19 # lockintnowait lock nr (0-7)
ian@0 20 # lockcont lock nr (0-7)
ian@0 21 # unlock lock nr (0-7)
ian@0 22 # lockbkl lock nr (0-7)
ian@0 23 # unlockbkl lock nr (0-7)
ian@0 24 # signal 0
ian@0 25 # reset 0
ian@0 26 # resetevent 0
ian@0 27 #
ian@0 28 # Tests / Wait
ian@0 29 #
ian@0 30 # opcode opcode argument
ian@0 31 #
ian@0 32 # prioeq priority
ian@0 33 # priolt priority
ian@0 34 # priogt priority
ian@0 35 # nprioeq normal priority
ian@0 36 # npriolt normal priority
ian@0 37 # npriogt normal priority
ian@0 38 # locked lock nr (0-7)
ian@0 39 # blocked lock nr (0-7)
ian@0 40 # blockedwake lock nr (0-7)
ian@0 41 # unlocked lock nr (0-7)
ian@0 42 # lockedbkl dont care
ian@0 43 # blockedbkl dont care
ian@0 44 # unlockedbkl dont care
ian@0 45 # opcodeeq command opcode or number
ian@0 46 # opcodelt number
ian@0 47 # opcodegt number
ian@0 48 # eventeq number
ian@0 49 # eventgt number
ian@0 50 # eventlt number
ian@0 51
ian@0 52 #
ian@0 53 # 2 threads 2 lock
ian@0 54 #
ian@0 55 C: resetevent: 0: 0
ian@0 56 W: opcodeeq: 0: 0
ian@0 57
ian@0 58 # Set schedulers
ian@0 59 C: schedfifo: 0: 80
ian@0 60 C: schedfifo: 1: 80
ian@0 61
ian@0 62 # T0 lock L0
ian@0 63 C: locknowait: 0: 0
ian@0 64 W: locked: 0: 0
ian@0 65
ian@0 66 # T1 lock L1
ian@0 67 C: locknowait: 1: 1
ian@0 68 W: locked: 1: 1
ian@0 69
ian@0 70 # T0 lock L1
ian@0 71 C: lockintnowait: 0: 1
ian@0 72 W: blocked: 0: 1
ian@0 73
ian@0 74 # T1 lock L0
ian@0 75 C: lockintnowait: 1: 0
ian@0 76 W: blocked: 1: 0
ian@0 77
ian@0 78 # Make deadlock go away
ian@0 79 C: signal: 1: 0
ian@0 80 W: unlocked: 1: 0
ian@0 81 C: signal: 0: 0
ian@0 82 W: unlocked: 0: 1
ian@0 83
ian@0 84 # Unlock and exit
ian@0 85 C: unlock: 0: 0
ian@0 86 W: unlocked: 0: 0
ian@0 87 C: unlock: 1: 1
ian@0 88 W: unlocked: 1: 1
ian@0 89