diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-14 11:35:21 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-16 19:24:13 +0200 |
commit | 5a2b8be3f5c9659cedb56855d2741accfdaeab3d (patch) | |
tree | b52de4a174e185c8a372e8ff558e1c3a32f5da6f /src/cxx_linuxlist.h | |
parent | 2b558857dd720ea0a743d2656873a8c472ecd6b9 (diff) |
alloc: Refactor alloc algorithms to only apply changes on success
Currently these algorithms modify other objects (MS, TBF, PDCH) even
if the allocation will fail later on. To implement an algorithm that
dynamically tries another algorithm on failure (e.g. A after B), the
first (failing) algorithm should not change or damage anything.
This commit refactors algorithm A and B to delay the actual allocation
until it is known that the allocation will not fail.
Ticket: #1934
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/cxx_linuxlist.h')
0 files changed, 0 insertions, 0 deletions