kdb
[Top] [All Lists]

Re: [PATCH 2/2] implement new notifier function to panic_notifier_list

To: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Subject: Re: [PATCH 2/2] implement new notifier function to panic_notifier_list
From: Takenori Nagano <t-nagano@xxxxxxxxxxxxx>
Date: Fri, 05 Oct 2007 13:59:43 +0900
Cc: linux-kernel@xxxxxxxxxxxxxxx, vgoyal@xxxxxxxxxx, "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>, k-miyoshi@xxxxxxxxxxxxx, kexec@xxxxxxxxxxxxxxxxxxx, Bernhard Walle <bwalle@xxxxxxx>, Keith Owens <kaos@xxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, kdb@xxxxxxxxxxx
In-reply-to: <20071004090711.456b6338.randy.dunlap@xxxxxxxxxx>
References: <4704D0CA.4080001@xxxxxxxxxxxxx> <20071004090711.456b6338.randy.dunlap@xxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Randy Dunlap wrote:
> On Thu, 04 Oct 2007 20:38:50 +0900 Takenori Nagano wrote:
> 
>> 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@xxxxxxxxxxxxx>
>>
>> ---
>>   * 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"

Hi Randy,

Thank you for reviewing. :)
I'll fix next version.
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>