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

Zachary Amsden
2006-11-02T00:54:04Z

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@rustcorp.com.au> 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