model: release_seq_head - rewrite RMW recursion as loop
authorBrian Norris <banorris@uci.edu>
Tue, 25 Sep 2012 18:38:31 +0000 (11:38 -0700)
committerBrian Norris <banorris@uci.edu>
Tue, 25 Sep 2012 18:38:31 +0000 (11:38 -0700)
commit1be4d40117ac7eb13715f6384c7dfdd390246aa7
treea5c5c12f0a5bf524f3adf5ce2a38fe736543af66
parent96cc6915859876bd9a5c1774a5195058c7c2442c
model: release_seq_head - rewrite RMW recursion as loop

A bug in release sequences coce (independent of this patch) causes a huge
blowup of the recursion, yielding strange stack errors. So I address "@todo
Might it be better to make this into a loop", causing a loop of memory usage
instead. This can be triggered, for example, with:

  ./run.sh ./test/linuxrwlocks.o -e 1 -f 4 -m 1
model.cc