From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: [PATCH 18/23] xen/arch/*: add struct domain parameter to arch_do_domctl Date: Thu, 6 Dec 2012 09:51:24 +0000 Message-ID: <20121206095124.GC82725@ocelot.phlegethon.org> References: <1354289830-24642-1-git-send-email-dgdegra@tycho.nsa.gov> <1354289830-24642-19-git-send-email-dgdegra@tycho.nsa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1354289830-24642-19-git-send-email-dgdegra@tycho.nsa.gov> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Daniel De Graaf Cc: Stefano Stabellini , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org At 10:37 -0500 on 30 Nov (1354271825), Daniel De Graaf wrote: > Since the arch-independent do_domctl function now RCU locks the domain > specified by op->domain, pass the struct domain to the arch-specific > domctl function and remove the duplicate per-subfunction locking. > > This also removes two get_domain/put_domain call pairs (in > XEN_DOMCTL_assign_device and XEN_DOMCTL_deassign_device), replacing them > with RCU locking. > > Signed-off-by: Daniel De Graaf > Cc: Ian Campbell > Cc: Stefano Stabellini > Cc: Tim Deegan > Acked-by: Jan Beulich Acked-by: Tim Deegan