public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] avr32: Fixup kprobes preemption handling.
Date: Fri, 1 Dec 2006 16:53:12 +0900	[thread overview]
Message-ID: <20061201075312.GA30434@linux-sh.org> (raw)
In-Reply-To: <20061201075050.GA30051@linux-sh.org>

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@linux-sh.org>

  reply	other threads:[~2006-12-01  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01  7:50 [PATCH] avr32: Fixup kprobes preemption handling Paul Mundt
2006-12-01  7:53 ` Paul Mundt [this message]
2006-12-01 12:59 ` Haavard Skinnemoen

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=20061201075312.GA30434@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=hskinnemoen@atmel.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox