Re: [PATCH v6 3/6] xen/sched: retrieve scheduler id by name

2022-04-08 Thread Dario Faggioli
On Fri, 2022-04-08 at 09:45 +0100, Luca Fancellu wrote: > Add a static function to retrieve the scheduler pointer using the > scheduler name. > > Add a public function to retrieve the scheduler id by the scheduler > name that makes use of the new static function. > > Take the occasion to replace

[PATCH v6 3/6] xen/sched: retrieve scheduler id by name

2022-04-08 Thread Luca Fancellu
Add a static function to retrieve the scheduler pointer using the scheduler name. Add a public function to retrieve the scheduler id by the scheduler name that makes use of the new static function. Take the occasion to replace open coded scheduler search with the new static function in scheduler_