# HG changeset patch # User Christian Urban # Date 1404683789 -3600 # Node ID e0f6eb0b5d53a28ddf77bc4ec557ed6a3f46538d # Parent 91b236ff06dd7eefd9568f288795b3e41b0946b7 added mc link diff -r 91b236ff06dd -r e0f6eb0b5d53 mc.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mc.html Sun Jul 06 22:56:29 2014 +0100 @@ -0,0 +1,58 @@ + + +Priority Inversion Protocol + + + + + + + + + +
+

Proving the Priority Inheritance Protocol Correct

+ +By Xingyuan Zhang, Christian Urban and Chunhan Wu +

+In real-time systems with threads, resource locking and +priority scheduling, one faces the problem of Priority +Inversion. This problem can make the behaviour of threads +unpredictable and the resulting bugs can be hard to find. The +Priority Inheritance Protocol is one solution implemented in many +systems for solving this problem, but the correctness of this solution +has never been formally verified in a theorem prover. As already +pointed out in the literature, the original informal investigation of +the Property Inheritance Protocol presents a correctness "proof" for +an incorrect algorithm. In this paper we fix the problem of +this proof by making all notions precise and implementing a variant of +a solution proposed earlier. Our formalisation in Isabelle/HOL +uncovers facts not mentioned in the literature, but also shows how to +efficiently implement this protocol. Earlier correct implementations +were criticised as too inefficient. Our formalisation is based on +Paulson's inductive approach to verifying protocols. +

+ +The source code can be downloaded +here. +



+ +

+

+ +Last modified: Thu Feb 13 20:24:23 CET 2012 + +[Validate this page.] + +