]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
lib/uksched: Give scheduler init higher granularity w.r.t. allocators
authorSergiu Moga <sergiu@unikraft.io>
Tue, 23 Apr 2024 17:33:11 +0000 (20:33 +0300)
committerSimon Kuenzer <simon@unikraft.io>
Tue, 14 May 2024 22:23:43 +0000 (00:23 +0200)
commit61c4c13e5b0d1479a46334d2d94d124e09c88afe
tree2ce4446dbeb192213da82cc7a05979495e89183d
parent516dd6ff42f650761db31da9535a81c014885e6b
lib/uksched: Give scheduler init higher granularity w.r.t. allocators

Instead of using the same allocator for stack, auxiliary stack, TLS
and other structures, allow a caller of the scheduler initialization
function to pass different allocators for these if they want to.

Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Simon Kuenzer <simon@unikraft.io>
GitHub-Closes: #1322
lib/ukboot/boot.c
lib/uksched/include/uk/sched_impl.h
lib/ukschedcoop/include/uk/schedcoop.h
lib/ukschedcoop/schedcoop.c