login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
7
Re: [PATCH 2/2] kprobe: remove preempt_enable/disable from kprobe_handle_fault()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Masami Hiramatsu <mhiramat@...>
To: Harvey Harrison <harvey.harrison@...>
Cc: Andrew Morton <akpm@...>, linux-arch <linux-arch@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH 2/2] kprobe: remove preempt_enable/disable from kprobe_handle_fault()
Date: Thursday, February 7, 2008 - 3:12 pm
Harvey Harrison wrote:
quoted text
> This patch removes the preempt_disable/enable pair around kprobe_running > which was originally added to avoid the assertion from smp_processor_id > which would be hit an asertion if preemption was enabled. > > Kprobes can not be running if we are preemptible, so test explicitly > for preemption and bail out before hitting kprobe_running(). > > Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com> -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America) Inc. Software Solutions Division e-mail:
mhiramat@redhat.com
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 2/2] kprobe: remove preempt_enable/disable from kprob...
, Harvey Harrison
, (Sat Feb 2, 11:00 pm)
Re: [PATCH 2/2] kprobe: remove preempt_enable/disable from k...
, Masami Hiramatsu
, (Thu Feb 7, 3:12 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Linus Torvalds
Linux 2.6.25-rc4
Greg KH
Linux 2.6.25.10
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Ilpo Järvinen
Re: Strange Application bug, race in MSG_PEEK complaints (was: Bug#513695: fetchma...
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
585 guests
online.
Online users
strcmp
aquaracer13
avantiwineref
Syndicate