HPDCS/ROOT-Sim

lp_blocks should be organized in lists

Closed this issue · 1 comments

Currently lp_blocks are stored in arrays. This has the twofold problem that we cannot spawn a new LP at runtime, and that we waste some memory also to bind LPs to threads.

If we organize them in multi-lists, this becomes extremely more flexible. Moreover, we can dump the (inelegant) per-thread counters to implement foreach_lp and foreach_bound_lp.

This issue depends on #120.

According to the current development path, this feature has been discarded.