refactor(scheduler-allocator-runner): describe the framework runner, not the removed my_alloc() (task 5.1)
Comments in scheduler sources and tests that presented the deleted my_alloc()/parjob claim helpers as current code now name sched_allocator_run() and its runner helpers; test helpers and tests named after my_alloc are renamed. No logic or expectation changes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
65679285ba
commit
d006de3853
12 changed files with 104 additions and 103 deletions
|
|
@ -408,13 +408,13 @@ extern xce_alloc_t** sched_make_allocs(xce_scheduler_t*, char*, int, int*,
|
|||
* seqjob_allocator.c's pre-rewrap xlist_find() call site -- both now
|
||||
* deleted) so both seqjob_allocator.c and parjob_allocator.c can call this
|
||||
* shared Composition-Algorithm try_alloc leaf directly with real
|
||||
* parameters, instead of each carrying its own private copy. */
|
||||
* parameters, instead of each carrying its own private copy (today its
|
||||
* one allocator caller is the framework routine in alloc_runner.c). */
|
||||
/* scheduler-sim-live-allocation spec, task 2.1 (Core-Safe Allocation
|
||||
* Chain): retyped from xce_scheduler_t* to xce_sched_core_t* -- callers
|
||||
* still owning an xce_scheduler_t* (e.g. seqjob_allocator.c's/parjob_
|
||||
* allocator.c's my_alloc()/parjob_try_plan_(), which derive their own
|
||||
* `sched` from the plugin's separate, untouched xce_sched_plugin_t.sched
|
||||
* field) pass &(sched->core); both xce_scheduler_t and
|
||||
* still owning an xce_scheduler_t* pass &(sched->core) (the framework
|
||||
* routine sched_allocator_run(), alloc_runner.c, instead passes the
|
||||
* plugin's own `core` field straight through); both xce_scheduler_t and
|
||||
* xce_sched_sim_driver_t embed xce_sched_core_t core as their first-class
|
||||
* field, so either driver's own core state satisfies this signature
|
||||
* identically. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue