From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v4 4/8] mm: Scrub memory from idle loop Date: Tue, 13 Jun 2017 22:36:18 +0200 Message-ID: <1497386178.26212.39.camel@citrix.com> References: <1495209040-11101-1-git-send-email-boris.ostrovsky@oracle.com> <1495209040-11101-5-git-send-email-boris.ostrovsky@oracle.com> <593E68040200007800161CD1@prv-mh.provo.novell.com> <321c791e-d732-1730-d529-35ad9506b9a9@oracle.com> <1497302916.26212.30.camel@citrix.com> <593FBC140200007800162443@prv-mh.provo.novell.com> <1cdf3269-0c9d-63f3-6a03-fcef3a1fe35d@oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8462706445653685289==" Return-path: In-Reply-To: <1cdf3269-0c9d-63f3-6a03-fcef3a1fe35d@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Boris Ostrovsky , Jan Beulich Cc: tim@xen.org, sstabellini@kernel.org, wei.liu2@citrix.com, George.Dunlap@eu.citrix.com, andrew.cooper3@citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============8462706445653685289== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-dmE7mBV9WUgUM1gEdsES" --=-dmE7mBV9WUgUM1gEdsES Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2017-06-13 at 14:39 -0400, Boris Ostrovsky wrote: > On 06/13/2017 04:19 AM, Jan Beulich wrote: > > > > > On 12.06.17 at 23:28, wrote: > > > If some vcpu context work is scheduled, SCHEDULE_SOFTIRQ is > > > raised. > > > do_softirq() will call the scheduler, which will see that there > > > is vcpu > > > tasklet work to do, and hence confirm in execution the idle vcpu, > > > which > > > will get to execute do_tasklet(). > >=20 > > Right, so something along these lines will need to go into the > > commit > > message. >=20 >=20 > So would you then prefer to separate this into two patches, with the > first just moving do_tasklet() above sleeping? >=20 If you want, I can send a patch to this effect (which can then either just go in, or Boris can carry it in this series). Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-dmE7mBV9WUgUM1gEdsES 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 v2 iQIcBAABCAAGBQJZQEzDAAoJEBZCeImluHPuF4MP/24d1gvcQgpAm//rWpLll1dR UyVtydBDyg+tLKlsM3HF4bXtG1cTlhfnCXAVH9ZUzaQKHUQkdNzzJKg9O51jdhQd 4YC0UClAtBqtXDZym56sH4C0Kz+p+65SYxGvS3vQgOtbJbn3jVqAo5CvuZYt3KY+ wtsuxNbQ7dwN23yfZOGeoX0RmRcXaYZPMH1MJDJvZOChb9zEMWv3vqHMrwn7eIfM LxO7MumF3mEMjUhw3u+0uI2/SHiOPaBIBUsRBNpSsF/9+7ByixxXDLcO8xinRlma /Jegw59IwapeY3uD42nM1n77HQFf56p0HCAAXasPzDDbcPyWcM5HhCDENFBhOVDn smxriovJu9YR2aoGQeCq0k6daITh5EYHzJQwxHO5kIwg4565xEjgoq/Xgp+f3ErM eg5GGOAfXUHYSd9cZaZs+imccKLf3brAxs72gX8ZqJLMctBTz62E9mzlsEMItlc9 17yHPZPh7bNTGvx0HWglIb4DbAVc6dM0p9Gs7+1nD9IAAW1Cuygs+og+WUA58+mI g5LPDusjLJCo7EOCwk+Ompn/TnqDrfR3rWx/atJ0RLgtO1LFa7JBHOi8G7cYvxdz XOq34CWXGUC23CZa9mjnDbYSMcegohM5FWfYlvLJXkyukDFsB++HViSqw4bHG0Vd blKU3jUWi0OMQ01KRgZj =DlHm -----END PGP SIGNATURE----- --=-dmE7mBV9WUgUM1gEdsES-- --===============8462706445653685289== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============8462706445653685289==--