x86/mem_sharing: enable mem_share audit mode only in debug builds
authorTamas K Lengyel <tamas@tklengyel.com>
Fri, 19 Jul 2019 11:49:26 +0000 (13:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Jul 2019 11:49:26 +0000 (13:49 +0200)
commita23654d77d3ecd6d5085217dde99564e63160ecf
treedf503bacac62ad8b78cc7101dfeeada0983786d2
parenteb6ad54731ac44f817a42d1d92e4ecd86897929e
x86/mem_sharing: enable mem_share audit mode only in debug builds

Improves performance for release builds.

Signed-off-by: Tamas K Lengyel <tamas@tklengyel.com>
xen/include/asm-x86/mem_sharing.h