Re: [PATCH v5] lib/spinlock_debug.c: prevent a recursive cycle in the debug code

From: Byungchul Park
Date: Mon Feb 01 2016 - 21:35:18 EST


On Sat, Jan 30, 2016 at 10:27:43AM +0100, Ingo Molnar wrote:
>
> * Byungchul Park <byungchul.park@xxxxxxx> wrote:
>
> > +
> > + /*
> > + * If this function is called from printk(), then we should
> > + * not call printk() more. Or it will cause an infinite
> > + * recursive cycle!
>
> This should be something like:
>
> > + * If this function is called from within printk() then we
> > + * should not call printk() again, or it will recurse
> > + * infinitely.
>
> Thanks,

Thank you very much. Not easy to me.

>
> Ingo