On Sat, Jan 30, 2016 at 10:27:43AM +0100, Ingo Molnar wrote:
>
> * Byungchul Park 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 somethin
On Mon, Feb 01, 2016 at 11:31:12AM +0900, Sergey Senozhatsky wrote:
> On (01/29/16 21:43), Byungchul Park wrote:
> [..]
> > +extern int is_console_lock(raw_spinlock_t *lock);
> > +
> > static void __spin_lock_debug(raw_spinlock_t *lock)
> > {
> > u64 i;
> > @@ -113,11 +115,19 @@ static void _
On (01/29/16 21:43), Byungchul Park wrote:
[..]
> +extern int is_console_lock(raw_spinlock_t *lock);
> +
> static void __spin_lock_debug(raw_spinlock_t *lock)
> {
> u64 i;
> @@ -113,11 +115,19 @@ static void __spin_lock_debug(raw_spinlock_t *lock)
> return;
>
On (02/01/16 10:45), Byungchul Park wrote:
> But avoiding an unnecessary recursive cycle is better than panic(). What I
> handled
> in this patch is the warning case which causes unnecessary lockup and don't
> need to
> happen.
Hello,
correct, that was one of the reasons why I proposed to
retur
On Sun, Jan 31, 2016 at 09:40:08PM +0900, Sergey Senozhatsky wrote:
> On (01/29/16 21:54), Byungchul Park wrote:
> > Hello, Andrew
> >
> > Please take this v5 patch instead of v2 patch, which you took. Or give your
> > opinion.
> >
> > > It causes an infinite recursive cycle when using CONFIG_DEB
On (01/29/16 21:54), Byungchul Park wrote:
> Hello, Andrew
>
> Please take this v5 patch instead of v2 patch, which you took. Or give your
> opinion.
>
> > It causes an infinite recursive cycle when using CONFIG_DEBUG_SPINLOCK,
> > in the spin_dump(). Backtrace prints printk() -> console_trylock(
* Byungchul Park 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
On Fri, Jan 29, 2016 at 09:43:37PM +0900, Byungchul Park wrote:
> changes from v4 to v5
> - found out a clear scenario which make a system crazy. at least it
> should not be caused by the debug code.
Hello, Andrew
Please take this v5 patch instead of v2 patch, which you took. Or give your
opini
8 matches
Mail list logo