ia64/linux-2.6.18-xen.hg

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