[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "luca.fancellu@xxxxxxx" <luca.fancellu@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Dario Faggioli <dfaggioli@xxxxxxxx>
  • Date: Fri, 8 Apr 2022 10:29:16 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Qi3gBZqVU9GOiA6inmQOKJ+XPy6pK8sUY8RJrVxwmNk=; b=ONxganN/CFdMkZgQjzYHE9SrQftnBL0sXuJwx7CF/vz6zN5Ns4pnbhR+lGZt5s+eIfY5yrAxerpEulnsx3zydVXnpEhMADLKUXW82isu9Fp+wfb5thwp082NBHSEqpjrRIereWeOJ6MvD2qvfCwj5mARiDLW+lYjnATOewaRiT6VPcGzuKmfcRcSmGuCPJamoGbwBHRFsX2NiOcNbcoG9hvrVD+Hrg5fqmOLGE03aLxEBMJSDqfD4RILYG6S0+LZRrD6AiQCQpzo7sxm83FlXC6fTvfL5HZ18Zocdo8mFJdNZOqrCG4h8OsrEH6beTyT/J9x/g1D+H1oRc2TsO5aIQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bWjX7B8UakHSoxtHGlksbe3Rj1KYKRSkAp1INwTtoOOPqli41z1CYwmh+zLr+DjyAIqewVIKcbD0VeohlggtpVHFVyFyw7QN++s7ijzWEbMxz8PGi5P3HdhJtd0YvYAoAS+7X6ru5kOen9sl76Il2Fev22gXOuxvaZCahnZwFc0ArL/fGa8+BNJQF0Xo8PE/3gc6Lq4FfM+u85KJ6b0hJ1qbJAp0OoCBfKNl5NwJs6l3pVZzYenk6X++xUlF+k6DvFZEuC7tbWCe6hivJ9sneQ8gfuwBEgTGy6RDjmTnPqI1/2vrMXNXzTcBjeXspyAXdn7PSd9fe35VdCmgBvOhgQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: "julien@xxxxxxx" <julien@xxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, "bertrand.marquis@xxxxxxx" <bertrand.marquis@xxxxxxx>, "wl@xxxxxxx" <wl@xxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, "wei.chen@xxxxxxx" <wei.chen@xxxxxxx>, "george.dunlap@xxxxxxxxxx" <george.dunlap@xxxxxxxxxx>, "andrew.cooper3@xxxxxxxxxx" <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Fri, 08 Apr 2022 10:29:32 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHYSyUE9E7urcTvC0i0eb3jd4Nypazl0LOA
  • Thread-topic: [PATCH v6 3/6] xen/sched: retrieve scheduler id by name

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 open coded scheduler search with the
> new static function in scheduler_init.
> 
> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
> Reviewed-by: Juergen Gross <jgross@xxxxxxxx>
>
Reviewed-by: Dario Faggioli <dfaggioli@xxxxxxxx>

Regards
-- 
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)

Attachment: signature.asc
Description: This is a digitally signed message part


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.