From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v2 1/2] arinc: Add cpu-pool support to scheduler. Date: Wed, 4 Dec 2013 12:00:17 +0100 Message-ID: <1386154817.5338.441.camel@Solace> References: <1386109467-9095-1-git-send-email-nate.studer@dornerworks.com> <1386109467-9095-2-git-send-email-nate.studer@dornerworks.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3913923043019523036==" Return-path: In-Reply-To: <1386109467-9095-2-git-send-email-nate.studer@dornerworks.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Nathan Studer Cc: Simon Martin , Ian Campbell , Stefano Stabellini , George Dunlap , Andrew Cooper , Ian Jackson , Robert VanVossen , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============3913923043019523036== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-JT+x7asuKOSisAh1/CWn" --=-JT+x7asuKOSisAh1/CWn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On mar, 2013-12-03 at 17:24 -0500, Nathan Studer wrote: > From: Nathan Studer >=20 > 1. Remove the restriction that dom0 must be in the schedule, since dom-0= may > not belong to the scheduler's pool. > 2. Add a schedule entry for each of dom-0's vcpus as they are created. > 3. Add code to deal with empty schedules in the do_schedule function. > 4. Call the correct idle task for the pcpu on which the scheduling decis= ion > is being made in do_schedule. > 5. Add code to prevent migration of a vcpu. > 6. Implement a proper cpu_pick function, which prefers the current proce= ssor. > 7. Add a scheduler lock to protect access to global variables from multi= ple > PCPUs. >=20 > These changes do not implement arinc653 multicore. Since the schedule on= ly > supports 1 vcpu entry per slot, even if the vcpus of a domain are run on > multiple pcpus, the scheduler will essentially serialize their execution. >=20 > Signed-off-by: Nathan Studer I'm not yet familiar enough with the details of the algorithm itself yet, but still, FWIW: Reviewed-by: Dario Faggioli --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-JT+x7asuKOSisAh1/CWn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iEYEABECAAYFAlKfC0EACgkQk4XaBE3IOsR+3gCffttoRgAnriM5XczZJDOTQJ6b 7oAAn1GbKM8C0xIId/Jkpuom/S7nAVRQ =WBtY -----END PGP SIGNATURE----- --=-JT+x7asuKOSisAh1/CWn-- --===============3913923043019523036== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3913923043019523036==--