All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Linux Kernel List <linux-kernel@vger.kernel.org>,
	Arjan Van de Ven <arjan@infradead.org>
Subject: Re: lockdep: results on ARM
Date: Thu, 27 Jul 2006 16:23:31 +0200	[thread overview]
Message-ID: <20060727142331.GA26040@elte.hu> (raw)
In-Reply-To: <20060727142425.GA5178@flint.arm.linux.org.uk>


* Russell King <rmk+lkml@arm.linux.org.uk> wrote:

> The best fix I've come up with which seems to work is:

> +#ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW
> +	p->hardirqs_enabled = 1;
> +#else
>  	p->hardirqs_enabled = 0;
> +#endif

yeah - that's the right solution - a new task's "soft" hardirq state 
should be initialized to the real irq-mode it starts up under.

Acked-by: Ingo Molnar <mingo@elte.hu>

	Ingo

  reply	other threads:[~2006-07-27 14:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-27 14:24 lockdep: results on ARM Russell King
2006-07-27 14:23 ` Ingo Molnar [this message]
2006-07-27 14:32 ` Arjan van de Ven
2006-07-27 20:46   ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060727142331.GA26040@elte.hu \
    --to=mingo@elte.hu \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.