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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
>>
>> ---
>>   * 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux