login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
15
Re: [PATCH 3/3] Stop tracing on a schedule bug
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Frederic Weisbecker
Subject:
Re: [PATCH 3/3] Stop tracing on a schedule bug
Date: Thursday, April 15, 2010 - 2:03 pm
On Wed, Apr 14, 2010 at 12:20:16PM -0400, Chase Douglas wrote:
quoted text
> This change adds a tracing_off_event() call to stop tracing on schedule > bugs unless tracing_off=none was specified on the commandline. > > Signed-off-by: Chase Douglas <chase.douglas@canonical.com> > --- > kernel/sched.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/kernel/sched.c b/kernel/sched.c > index 6af210a..439f036 100644 > --- a/kernel/sched.c > +++ b/kernel/sched.c > @@ -3590,6 +3590,8 @@ static noinline void __schedule_bug(struct task_struct *prev) > { > struct pt_regs *regs = get_irq_regs(); > > + tracing_off_event(TRACE_EVENT_BUG); > + > printk(KERN_ERR "BUG: scheduling while atomic: %s/%d/0x%08x\n", > prev->comm, prev->pid, preempt_count());
I would rather call that a TRACE_EVENT_WARN as this is what happens: we warn but we continue. --
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 1/3 v4] Add tracing_off_event() to stop tracing whe ...
, Chase Douglas
, (Wed Apr 14, 9:20 am)
[PATCH 3/3] Stop tracing on a schedule bug
, Chase Douglas
, (Wed Apr 14, 9:20 am)
Re: [PATCH 1/3 v4] Add tracing_off_event() to stop tracing ...
, Frederic Weisbecker
, (Thu Apr 15, 1:13 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Frederic Weisbecker
, (Thu Apr 15, 2:03 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Chase Douglas
, (Thu Apr 15, 2:45 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Thomas Gleixner
, (Thu Apr 15, 4:01 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Frederic Weisbecker
, (Thu Apr 15, 4:10 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Chase Douglas
, (Thu Apr 15, 4:27 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Thomas Gleixner
, (Thu Apr 15, 4:50 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Thomas Gleixner
, (Thu Apr 15, 5:21 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Frederic Weisbecker
, (Thu Apr 15, 6:49 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Chase Douglas
, (Thu Apr 15, 8:52 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Chase Douglas
, (Thu Apr 15, 9:01 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Steven Rostedt
, (Fri Apr 16, 9:41 am)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Steven Rostedt
, (Fri Apr 16, 9:46 am)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Chase Douglas
, (Fri Apr 16, 10:14 am)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Frederic Weisbecker
, (Fri Apr 16, 11:14 am)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Thomas Gleixner
, (Fri Apr 16, 12:58 pm)
Re: [PATCH 3/3] Stop tracing on a schedule bug
, Chase Douglas
, (Mon Apr 19, 3:30 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by: