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
|
|
@ -12,7 +12,7 @@
|
|||
* allocator()'s own init_fn (seqjob_allocator_init()/parjob_allocator_init(),
|
||||
* plugins/seqjob_allocator.c/parjob_allocator.c) still read plugin->sched,
|
||||
* needing a real xce_scheduler_t*. seqjob_allocator.c's/parjob_allocator.c's
|
||||
* own my_alloc() then resolves its plugin-hook fan-out (plugin_prepare_
|
||||
* then-private my_alloc() resolved its plugin-hook fan-out (plugin_prepare_
|
||||
* allocation()) via THAT SAME plugin instance's own plugin->core field, not
|
||||
* the core parameter threaded down from sched_make_allocation() -- so with
|
||||
* plugin->core pointing at the wrapper's own core, the fan-out iterates the
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
* Same technique test_sched_election_sim_fixture.c/test_sim_live_
|
||||
* allocation.c already establish (see those files' own header comments):
|
||||
* links the REAL, unmodified `scheduler_srcs` object list (minus
|
||||
* src/main.c) so my_alloc()'s real fan-out through the real plugin.c/
|
||||
* src/main.c) so the runner's real fan-out through the real plugin.c/
|
||||
* resource.c/plugins/limit.c chain is genuinely exercised, not stubbed.
|
||||
*
|
||||
* ── Fixture shape ──────────────────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue