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

Re: [Xen-devel] [PATCH 2/4] xen: add new CONFIG_SPINLOCK_DEBUG option



On 07.08.19 19:17, Andrew Cooper wrote:
On 07/08/2019 15:31, Juergen Gross wrote:
Instead of enabling spinlock debugging for debug builds only add a
dedicated Kconfig option for that purpose which defaults to DEBUG.

Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
---
  xen/Kconfig.debug          | 7 +++++++
  xen/common/spinlock.c      | 4 ++--
  xen/include/xen/spinlock.h | 2 +-
  3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/xen/Kconfig.debug b/xen/Kconfig.debug
index e10e314e25..5db3e7ec25 100644
--- a/xen/Kconfig.debug
+++ b/xen/Kconfig.debug
@@ -44,6 +44,13 @@ config COVERAGE
If unsure, say N here. +config SPINLOCK_DEBUG
+       bool "Spinlock debugging"
+       default DEBUG
+       ---help---
+         Enable debugging features of spinlock handling.  Some additional
+          checks will be performed when acquiring and releasing locks.

Missing tab on the final line.  Can be fixed on commit).

Oh, sorry. Will fix in V2.


Otherwise, Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>


Thanks,


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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