From: Tim Deegan Subject: Re: [PATCH 9 of 9] Modify all call sites of queries into the p2m to use the new fine-grained locking Date: Thu, 3 Nov 2011 14:38:05 +0000 Message-ID: <20111103143805.GF66800@ocelot.phlegethon.org> References: <20111027150207.GO59656@ocelot.phlegethon.org> <2edecee6fa102acb9973b1ef1e71a65d.squirrel@webmail.lagarcavilla.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: <2edecee6fa102acb9973b1ef1e71a65d.squirrel@webmail.lagarcavilla.org> 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@lagarcavilla.com Cc: olaf@aepfle.de, xen-devel@lists.xensource.com, andres@gridcentric.ca, keir.xen@gmail.com, Andres Lagar-Cavilla , adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org At 07:32 -0700 on 02 Nov (1320219175), andres@lagarcavilla.com wrote: > I don't know that a massive sed on all these names is a good idea. I guess > forcing everyone to compile-fail will also make them realize they need to > add a call to drop the p2m locks they got... > > Can you elaborate on the naming preferences here: would you prefer > gfn_to_mfn/put_gfn? get_p2m_gfn/put_p2m_gfn? get_gfn/put_gfn I think I'd prefer get_gfn/put_gfn. And maybe set_gfn for writes too? But I'm willing to be persuaded otherwise if anyone feels strongly about it. Tim.