- 15 Jul, 2009 1 commit
-
-
Rusty Russell authored
(Invasive: means passing full op array all the way through).
-
- 14 Jul, 2009 5 commits
-
-
Rusty Russell authored
Generalizes traverse in traverse fix from rusty@rustcorp.com.au-20090629073630-3eduhyypx2tp6u80
-
Rusty Russell authored
-
Rusty Russell authored
We now use the "group_len" field for both transactions and traversals.
-
Rusty Russell authored
-
Rusty Russell authored
-
- 13 Jul, 2009 5 commits
-
-
Rusty Russell authored
Make sort_deps more efficient, and also only alter order when necessary. This means by default we run in serial number order, only going outside when we detect a dependency. Maintain trace file order in original sort, so sort_deps doesn't mess it up. We still need serial numbers: sort_deps can have multiple solutions for a single key, but these may deadlock with the ordering requirements of other keys. By sticking close to the actual order (ie. serial order), we minimize the chance of this happening.
-
Rusty Russell authored
In my tdbtorture -n 4 example trace, this reduces from 14493 to 3210 dependencies, but doesn't make any measurable improvement in the time. Still, it's simple to do and might make a difference for larger sets.
-
Rusty Russell authored
-
Rusty Russell authored
Also, using a single structure makes talloc_free convenient for when we do optimization.
-
Rusty Russell authored
-
- 12 Jul, 2009 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
Still deadlocks in one case, due to spurious dependencies inside traversals. See next commit.
-
- 08 Jul, 2009 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
- 07 Jul, 2009 5 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
- 02 Jul, 2009 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
- 29 Jun, 2009 7 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
realloc() has that horrible overloaded free semantics.
-
Rusty Russell authored
By faking them out to length 1, we might go oob. Just fake the malloc.
-
- 28 Jun, 2009 1 commit
-
-
Rusty Russell authored
-
- 23 Jun, 2009 1 commit
-
-
Rusty Russell authored
-
- 22 Jun, 2009 1 commit
-
-
Rusty Russell authored
-
- 18 Jun, 2009 1 commit
-
-
Rusty Russell authored
-
- 16 Jun, 2009 1 commit
-
-
Rusty Russell authored
-
- 07 Jun, 2009 3 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
- 05 Jun, 2009 3 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-