From: Tim Deegan Subject: Re: [PATCH] VMX: Add debug-key 'D' to dump EPT p2m table Date: Thu, 22 Apr 2010 10:00:20 +0100 Message-ID: <20100422090020.GA4164@whitby.uk.xensource.com> References: <4BD0066A020000780005CBBF@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <4BD0066A020000780005CBBF@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: "dongxiao.xu@intel.com" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 08:18 +0100 on 22 Apr (1271924329), Jan Beulich wrote: > >>> "Xu, Dongxiao" 04/22/10 4:42 AM >>> > The use of map_domain_page() here is lacking a respective > unmap_domain_page() on all possible paths. > > Further, assuming the amount of information printed may be > huge, there ought to be calls to process_pending_softirqs() > to keep time management from getting screwed. Also, for the same reason, I think maybe it shouldn't be marked as a 'diagnostic' keyhandler (even though it really is diagnostic, it can very easily fill the dmesg buffers). Cheers, Tim. -- Tim Deegan Principal Software Engineer, XenServer Engineering Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)