login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
November
»
18
Re: ftrace: preemptoff selftest not working
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Ingo Molnar
Subject:
Re: ftrace: preemptoff selftest not working
Date: Tuesday, November 18, 2008 - 7:47 am
* Steven Rostedt <rostedt@goodmis.org> wrote:
quoted text
> > On Tue, 18 Nov 2008, Ingo Molnar wrote: > > > > * Steven Rostedt <rostedt@goodmis.org> wrote: > > > > > > Hence the trace buffer will be empty. The patch below makes the > > > > selftests working for me, since then they run in preemptible > > > > context. But it is ugly and I'm not proposing it for upstream ;) > > > > > > > > Just wanted to make you aware that there is a bug. > > > > > > Yep, this might be a better answer than what I put into linux-tip > > > (and my git repo). > > > > > > See: > > > > > > ftrace: force pass of preemptoff selftest > > > > > > The cause of the bug was the conversion of the BKL back to a > > > spinlock, and making it non preempt. The initcall code is called > > > with the BKL applied which now means it can not preempt. This breaks > > > the preempt tracer selftest. > > > > > > My solution was to just force a pass if this is detected. Perhaps > > > moving the test might be better. > > > > it would be better to just drop the BKL in that selftest. (or in all > > selftests - an elevated preempt count will skew a number of things) > > I have no problem with that, but does the BKL play any role for > being held? I have no idea why it is taken in boot up, so I'm > hestiant to touch it.
we can drop it in selected initcalls just fine. Its only role is old-style init functions racing with other async contexts of themselves. Ingo --
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:
ftrace: preemptoff selftest not working
, Heiko Carstens
, (Tue Nov 18, 5:54 am)
Re: ftrace: preemptoff selftest not working
, Ingo Molnar
, (Tue Nov 18, 6:48 am)
Re: ftrace: preemptoff selftest not working
, Steven Rostedt
, (Tue Nov 18, 6:49 am)
Re: ftrace: preemptoff selftest not working
, Ingo Molnar
, (Tue Nov 18, 6:52 am)
Re: ftrace: preemptoff selftest not working
, Steven Rostedt
, (Tue Nov 18, 7:32 am)
Re: ftrace: preemptoff selftest not working
, Ingo Molnar
, (Tue Nov 18, 7:47 am)
Re: ftrace: preemptoff selftest not working
, Heiko Carstens
, (Tue Nov 18, 10:06 am)
Re: ftrace: preemptoff selftest not working
, Steven Rostedt
, (Tue Nov 18, 10:21 am)
Re: ftrace: preemptoff selftest not working
, Ingo Molnar
, (Tue Nov 18, 1:55 pm)
Re: ftrace: preemptoff selftest not working
, Ingo Molnar
, (Wed Nov 19, 2:02 am)
Re: ftrace: preemptoff selftest not working
, Heiko Carstens
, (Wed Nov 19, 2:23 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Eberhard Moenkeberg
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Andy Walls
Re: [PATCH 11/32] v4l/cx18: update workqueue usage
Thomas Gleixner
[patch -mm 19/28] x86_64: Use generic cmos update
Casey Schaufler
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel
Pierre Ossman
Re: sdio: enhance IO_RW_EXTENDED support
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Petko Manolov
git and binary files
Dan Chokola
Re: how do you "force a pull"?
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Eric Dumazet
Re: HTB accuracy on 10GbE
freebsd-chat
:
Kevin Kinsey
Re: I can't make world without the "games" group?
Dan Langille
Re: spotted in the wild...
Dag-Erling Smørgrav
Re: which port for this job?
Mark Picone
Re: Hard drive data recovery shops for FreeBSD partitions?
Zane C.B.
Re: ZFS ATA vs. ZFS CAM ATA performance on 8.1
dragonflybsd-commit
:
Joerg Sonnenberger
cvs commit: src/lib/libc/stdlib getopt_long.c
Sepherosa Ziehau
cvs commit: src/sys/dev/netif/aue if_aue.c
Jeroen Ruigrok/asmodai
cvs commit: dfports/devel/imake-6 Makefile distinfo
Sascha Wildner
Re: cvs commit: src/test/test README
Simon 'corecode' Schubert
Re: cvs commit: src/bin/hostname hostname.1 src/bin/domainname domainname....
Colocation donated by:
Syndicate