linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Octeon: Run IPI code with interrupts disabled.

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH] MIPS: Octeon: Run IPI code with interrupts disabled.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 3 Aug 2009 09:41:52 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <1249075807-18619-1-git-send-email-ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1249075807-18619-1-git-send-email-ddaney@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Fri, Jul 31, 2009 at 02:30:07PM -0700, David Daney wrote:

> In mm/slab.c the function do_ccupdate_local requires that interrupts
> be disabled.  If they are not, we panic with CONFIG_DEBUG_SLAB.
> 
> So we disable interrupts while processing IPIs.  Also these are not
> shared irqs, so get rid of the IRQF_SHARED flag.

Yes, this one will ruin your day.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] MIPS: Octeon: Run IPI code with interrupts disabled., Ralf Baechle <=