From: Tim Deegan Subject: Re: [PATCH 0 of 5] p2m synchronization groundwork Date: Thu, 10 Nov 2011 12:27:13 +0000 Message-ID: <20111110122713.GE62117@ocelot.phlegethon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andres Lagar-Cavilla Cc: olaf@aepfle.de, xen-devel@lists.xensource.com, George.Dunlap@eu.citrix.com, andres@gridcentric.ca, keir.xen@gmail.com, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org At 22:28 -0500 on 07 Nov (1320704908), Andres Lagar-Cavilla wrote: > This patch series lays the groundwork for improving the synchronization > of primitives accessing the p2m. > > This is a partial repost of the patches emailed previously as a RFC. > These patches are now intended for committing to the tree. > > We change the API for accessing the p2m to a family of functions > get_gfn/put_gfn. The name intends to reflect the fact that even lookups > are meant to obtain exclusive access to a p2m entry, and that said access > should be relinquished (put_gfn) when done. > > The patches, however, alter little functionality. The API name change > does not involve yet additional locking or ref-counting. They will, however, > throw a "barrier" that will force any new commits to conform to the new API. > > Patches are based off 24066:54a5e994a241. Should the new XENMEM calls be > accepted before this, the series needs to be updated to also change the API > there. > > Signed-off-by: Andres Lagar-Cavilla