Re: [PATCH] X86: reboot-notify additions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Thursday, June 19, 2008 - 4:02 am

* Cliff Wickman <cpw@sgi.com> wrote:


i dont think this is a good idea. reboot_notifier_list is a blocking 
notifier, i.e. it comes with a notifier->rwsem read-write mutex that is 
taken when blocking_notifier_call_chain() is executed.

i.e. this patch puts a sleeping mutex operation (a down_read()) into a 
highly critical code path of the kernel. This will decrease the 
reliability of the kernel.

what exactly are you trying to achieve?

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] X86: reboot-notify additions, Cliff Wickman, (Wed Jun 18, 3:03 pm)
Re: [PATCH] X86: reboot-notify additions, Andi Kleen, (Wed Jun 18, 8:02 pm)
Re: [PATCH] X86: reboot-notify additions, Ingo Molnar, (Thu Jun 19, 4:02 am)
Re: [PATCH] X86: reboot-notify additions, Cliff Wickman, (Thu Jun 19, 7:54 am)
Re: [PATCH] X86: reboot-notify additions, Eric W. Biederman, (Thu Jun 19, 2:50 pm)
Re: [PATCH] X86: reboot-notify additions, Ingo Molnar, (Fri Jun 20, 4:45 am)
Re: [PATCH] X86: reboot-notify additions, Cliff Wickman, (Fri Jun 20, 8:16 am)
Re: [PATCH] X86: reboot-notify additions, Ingo Molnar, (Fri Jun 20, 8:43 am)
Re: [PATCH] X86: reboot-notify additions, Eric W. Biederman, (Fri Jun 20, 11:01 am)
Re: [PATCH] X86: reboot-notify additions, Cliff Wickman, (Fri Jun 20, 12:18 pm)
Re: [PATCH] X86: reboot-notify additions, Eric W. Biederman, (Fri Jun 20, 2:33 pm)