ia64/linux-2.6.18-xen.hg

annotate scripts/rt-tester/t3-l1-pi-1rt.tst @ 562:66faefe721eb

pvSCSI backend driver

Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jun 02 09:58:27 2008 +0100 (2008-06-02)
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 thread to signal (0-7)
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 # 3 threads 1 lock PI
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: schedother: 0: 0
ian@0 60 C: schedother: 1: 0
ian@0 61 C: schedfifo: 2: 82
ian@0 62
ian@0 63 # T0 lock L0
ian@0 64 C: locknowait: 0: 0
ian@0 65 W: locked: 0: 0
ian@0 66
ian@0 67 # T1 lock L0
ian@0 68 C: locknowait: 1: 0
ian@0 69 W: blocked: 1: 0
ian@0 70 T: priolt: 0: 1
ian@0 71
ian@0 72 # T2 lock L0
ian@0 73 C: locknowait: 2: 0
ian@0 74 W: blocked: 2: 0
ian@0 75 T: prioeq: 0: 82
ian@0 76
ian@0 77 # T0 unlock L0
ian@0 78 C: unlock: 0: 0
ian@0 79
ian@0 80 # Wait until T2 got the lock
ian@0 81 W: locked: 2: 0
ian@0 82 W: unlocked: 0: 0
ian@0 83 T: priolt: 0: 1
ian@0 84
ian@0 85 # T2 unlock L0
ian@0 86 C: unlock: 2: 0
ian@0 87
ian@0 88 W: unlocked: 2: 0
ian@0 89 W: locked: 1: 0
ian@0 90
ian@0 91 C: unlock: 1: 0
ian@0 92 W: unlocked: 1: 0