Re: [PATCH 2/7] paravirtualization: Patch inline replacements forcommon paravirt operations.

From: Zachary Amsden
Date: Wed Nov 01 2006 - 19:54:39 EST


Rusty Russell wrote:
On Wed, 2006-11-01 at 15:27 -0800, Andrew Morton wrote:
On Wed, 01 Nov 2006 21:28:13 +1100
Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
+#ifdef CONFIG_DEBUG_KERNEL
+ /* Deliberately clobber regs using "not %reg" to find bugs. */
That would be considered to be abusive of CONFIG_DEBUG_KERNEL. A
CONFIG_DEBUG_PARAVIRT which depends on CONFIG_DEBUG_KERNEL would be more
harmonious.

I wasn't sure. Making a config option for what is a one-liner seemed
overkill.

I have further stuff in my vmi-debug patch that can use CONFIG_DEBUG_PARAVIRT as well :)

Zach
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/