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

From: Ingo Molnar
Date: Sat Jan 30 2016 - 04:28:54 EST



* 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,

Ingo