[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061201075312.GA30434@linux-sh.org>
Date: Fri, 1 Dec 2006 16:53:12 +0900
From: Paul Mundt <lethal@...ux-sh.org>
To: Haavard Skinnemoen <hskinnemoen@...el.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] avr32: Fixup kprobes preemption handling.
On Fri, Dec 01, 2006 at 04:50:50PM +0900, Paul Mundt wrote:
> While working on SH kprobes, I noticed that avr32 got the preemption
> handling wrong in the no probe case. The idea is that upon entry of
> kprobe_handler() preemption is disabled outright across the life of the
> kprobe, only to be re-enabled in post_kprobe_handler().
>
> However, in the event that the probe is never activated, there's never
> any chance of hitting the post probe handler, which allows for the
> current avr32 implementation to disable preemption indefinitely, as it's
> currently missing a re-enable when no probe is activated.
>
> Patch follows.
>
And that's of course..
Signed-off-by: Paul Mundt <lethal@...ux-sh.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists