Re: adding lockdep support to the Blackfin arch
From: Ingo Molnar
Date: Tue Jun 09 2009 - 02:32:25 EST
* Mike Frysinger <vapier.adi@xxxxxxxxx> wrote:
> ive been extending the Blackfin arch recently to support lockdep.
> since i also had to implement irqflags/stacktrace as well, i wouldnt
> be surprised if this issue is nested in there, plus this is a no-mmu
> system.
>
> at any rate, when i boot up a Blackfin system with PROVE_LOCKING
> enabled, i end up with this warning:
> Badness at kernel/fork.c:988
>
> which correlates to this in copy_process():
> DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled);
This suggests that the irqflags tracking might be wrong: the fork
code expects it at this point that hardirqs are enabled.
> btw, in order to get this to work in the first place, i had to
> extend
[incomplete mail?]
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/