[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/5] x86/p2m: suppress audit_p2m hook when possible


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Tue, 10 Nov 2020 12:30:02 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GmFRSLA9nNldh/+JrLsL8VNAG5HwvNv1XF129AwYSVQ=; b=iBD/+bt2aTjbSSY7pu3Z0NXkEjQ5PIsDRbWRfNXMT1xgHcGD2bJLWDLMu8tPS33c9vdVoJVuGI4+3LTNhwDwK+r2IhhjEDIAjG8ELQ4qN8AH20I4pMXGk4brYiV4ysQZPYphxNVEM5HRBw/PFDdFoM9BTs3eVHDW9ZJMk5v2Vyhe/R971hKTUWObgStZ5wisINoNeO+iecMD6x31k70/xeGVvTn40ApxOnw9JOV+mRQN772w6MC2F+X5Z968qDQAKd/F/xg5rqtf1FLtdZHbQNaDomQxHv+SPMdJv019ZJzUxWVRd/2mY25pWKf8bva5sHJGoyHh38sObpY/wUD9pw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YZ+awRR7yQ1b4INNuRBAM7vUdGifA7kyvVmtv6MHIkobcMaGGBpNvxTAvNsIquoFyZQ4s8Afbap7vN3pPEqlHgCVnTRfuIcQlEGjaK0PFXRBA5bin8eBEJAMxRwT4t2AdEkGrZ1XCHJwP8mQfMjsWsseIrE5Y7GA8EQ1ElnWXn4HgyCOsr/ECwptyBx02mcssOpolREzZAEChFG6umiQ3Z+3TSLsE7QFE0Kj+/tUDhklJ2hG0/5e0x46cLjSglgMQDeLk8yjErycZZG2JSG1G6ZcLQUEpFLEvo0TIqiq4q2HVngRBjBWf3iZ6GxU/MsfCO/2hTC7rc32g+1z3buOyw==
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Delivery-date: Tue, 10 Nov 2020 11:30:18 +0000
  • Ironport-sdr: NltpuTUiRVMSwgsnUyRDxCAVv5qRsF21vhXMhIY/q6oKvMsCatopih6MsV9T6bBWmxXIXHfGkP gGpqPC7sn7a/P70fZnuCTdrbTufMm6fYgQKdpGWoOXbCxUOQfIB59g05fOsKMUlgeT3xkXSAoZ czmSIL8car2H+B56/x5VVFLDn6bQiZQLcHNUl+KtLpmwAjtiEtJ6RnWc/jsSoLEZF67TZ9uziJ s7kU85CKooSSu4DTq/rvioxlwpsRhb4NBQqaIGOkZWGB2ISrJcU3CVELfYaTJnDdg1I/uExhGn FEc=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed, Oct 28, 2020 at 10:23:42AM +0100, Jan Beulich wrote:
> When P2M_AUDIT is false, it's unused, so instead of having a dangling
> NULL pointer sit there, omit the field altogether.
> 
> Instead of adding "#if P2M_AUDIT && defined(CONFIG_HVM)" in even more
> places, fold the latter part right into the definition of P2M_AUDIT.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.