projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update isched ooomem model
[urcu.git]
/
formal-model
/
ooomem-two-writes
/
mem.spin
diff --git
a/formal-model/ooomem-two-writes/mem.spin
b/formal-model/ooomem-two-writes/mem.spin
index 9fc30cc5827d79692abfa917f5de6b8b87be0c4d..304c3f80f534aeba276c7ef7dc1efa3706a04fc9 100644
(file)
--- a/
formal-model/ooomem-two-writes/mem.spin
+++ b/
formal-model/ooomem-two-writes/mem.spin
@@
-6,8
+6,8
@@
*
* alpha = 0;
* beta = 0;
*
* alpha = 0;
* beta = 0;
- * x =
2
;
- * y =
2
;
+ * x =
1
;
+ * y =
1
;
*
* Process A Process B
* alpha = 1; beta = 1;
*
* Process A Process B
* alpha = 1; beta = 1;
@@
-158,9
+158,8
@@
inline smp_mb()
DECLARE_CACHED_VAR(byte, alpha, 0);
DECLARE_CACHED_VAR(byte, beta, 0);
DECLARE_CACHED_VAR(byte, alpha, 0);
DECLARE_CACHED_VAR(byte, beta, 0);
-/* value 2 is uninitialized */
-byte read_one = 2;
-byte read_two = 2;
+byte read_one = 1;
+byte read_two = 1;
/*
* Bit encoding, proc_one_produced :
/*
* Bit encoding, proc_one_produced :
This page took
0.025386 seconds
and
4
git commands to generate.