login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
4
Re: [PATCH 2/2] implement new notifier function to panic_notifier_list
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Randy Dunlap
Subject:
Re: [PATCH 2/2] implement new notifier function to panic_notifier_list
Date: Thursday, October 4, 2007 - 9:07 am
On Thu, 04 Oct 2007 20:38:50 +0900 Takenori Nagano wrote:
quoted text
> This patch implements new notifier function to panic_notifier_list. We can > change the list of order by debugfs. > > Thanks, > > --- > > Signed-off-by: Takenori Nagano <t-nagano@ah.jp.nec.com> > > ---
...
quoted text
> diff -uprN linux-2.6.23-rc9.orig/kernel/softlockup.c > linux-2.6.23-rc9/kernel/softlockup.c > --- linux-2.6.23-rc9.orig/kernel/softlockup.c 2007-10-02 12:24:52.000000000 +0900 > +++ linux-2.6.23-rc9/kernel/softlockup.c 2007-10-04 09:46:25.784000000 +0900 > @@ -31,10 +31,18 @@ softlock_panic(struct notifier_block *th > return NOTIFY_DONE; > } > > -static struct notifier_block panic_block = { > +static struct notifier_block panic_block_base = { > .notifier_call = softlock_panic, > }; > > +static struct tunable_notifier_block panic_block = { > + .nb = &panic_block_base, > + .head = NULL, > + .dir = NULL, > + .pri_dentry = NULL, > + .desc_dentry = NULL > +}; > + > /* > * Returns seconds, approximately. We don't need nanosecond > * resolution, and we don't need to waste time with a big divide when > @@ -193,5 +201,6 @@ __init void spawn_softlockup_task(void) > cpu_callback(&cpu_nfb, CPU_ONLINE, cpu); > register_cpu_notifier(&cpu_nfb); > > - atomic_notifier_chain_register(&panic_notifier_list, &panic_block); > + tunable_notifier_chain_register(&panic_notifier_list, &panic_block, > + "softlookup", NULL); > }
"softlockup" --- ~Randy -
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] implement new notifier function to panic_notif ...
, Takenori Nagano
, (Thu Oct 4, 4:38 am)
Re: [PATCH 2/2] implement new notifier function to panic_n ...
, Randy Dunlap
, (Thu Oct 4, 9:07 am)
Re: [PATCH 2/2] implement new notifier function to panic_n ...
, Takenori Nagano
, (Thu Oct 4, 9:59 pm)
Re: [PATCH 2/2] implement new notifier function to panic_n ...
, Vivek Goyal
, (Thu Oct 4, 10:49 pm)
Re: [PATCH 2/2] implement new notifier function to panic_n ...
, Takenori Nagano
, (Thu Oct 4, 11:19 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Alex Riesen
Re: [PATCH 4/7] lib: Introduce strnstr()
Thomas Gleixner
[ANNOUNCE] 2.6.31-rc6-rt2
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
git
:
Blaisorblade
git-unpack-objects < pack file in repository doesn't work!
Matthieu Moy
Re: Cloning empty repositories, was Re: What is the idea for bare repositories?
Linus Torvalds
Re: Untracked working tree files
Peter Karlsson
Re: CRLF problems with Git on Win32
Johannes Schindelin
Re: [PATCH 4/4] git-rebase -i: New option to support rebase with merges
linux-netdev
:
Alan Menegotto
Re: Linux networking implementation and packet capture
Andrew Morton
Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
Timo Teräs
ip xfrm policy semantics
Jarek Poplawski
Re: [PATCH]: Fix queueing return values...
David Miller
Re: [PATCH 1/2] netdev: bfin_mac: enable bfin_mac net dev driver for BF51x
git-commits-head
:
Linux Kernel Mailing List
Blackfin: don't give CPU its own line in traps output
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
powerpc: gamecube/wii: usbgecko bootwrapper console support
openbsd-misc
:
Aaron Mason
Re: Defending OpenBSD Performance
Henning Brauer
Re: Defending OpenBSD Performance
Henning Brauer
Re: Defending OpenBSD Performance
Christiano Farina Haesbaert
Re: Defending OpenBSD Performance
Nick Holland
Re: 1 out of 3 hunks failed--saving rejects to kerberosV/src/lib/krb5/crypto.c.rej
Colocation donated by:
Syndicate