Re: 2.6.14-rc3-rt2
From: Ingo Molnar
Date: Wed Oct 05 2005 - 02:40:58 EST
* Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> > > BUG: init/1: leaked RT prio 98 (116)?
> > >
> > > Steven, it goes away when deadlock detection is enabled. Any pointers
>
> Thats actually a red hering caused by asymetric accounting which only
> happens when
>
> CONFIG_DEBUG_PREEMPT=y
> and
> # CONFIG_RT_DEADLOCK_DETECT is not set
> #if defined(CONFIG_DEBUG_PREEMPT) && defined(CONFIG_PREEMPT_RT)
> + owner->lock_count--;
> if (owner->lock_count < 0 || owner->lock_count >= MAX_LOCK_STACK) {
> TRACE_OFF();
> printk("BUG: %s/%d: lock count of %u\n",
> owner->comm, owner->pid, owner->lock_count);
> dump_stack();
> }
> - owner->lock_count--;
> owner->owned_lock[owner->lock_count] = NULL;
ouch. Brown paperbag for me! Patch applied.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/