Re: [tip.git#x86/debug] Re: x86/dumpstack: Combine some printk()s

From: Sedat Dilek
Date: Mon Apr 04 2016 - 11:34:30 EST


On Sat, Apr 2, 2016 at 1:12 PM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> On Sat, 2 Apr 2016, Sedat Dilek wrote:
>
>> Hi,
>>
>> I was looking through tip Git tree...
>>
>> Why didn't you use...
>>
>> + IS_ENABLED(CONFIG_DEBUG_PAGEALLOC) ? " DEBUG_PAGEALLOC" : "",
>>
>> ...instead of...
>>
>> + debug_pagealloc_enabled() ? " DEBUG_PAGEALLOC" : "",
>>
>> ...for consistency reasons?
>
> Hint: Lookup the implementation of debug_pagealloc_enabled()
>

I did not look and simply trust you.

- sed@ -

> Thanks,
>
> tglx