Re: [PATCH v8 1/2] x86/kexec: add a new atomic notifier list for kdump

2012-11-26 Thread Eric W. Biederman
Zhang Yanfei zhangyan...@cn.fujitsu.com writes: This patch adds an atomic notifier list named crash_notifier_list. Currently, when loading kvm-intel module, a notifier will be registered in the list to enable vmcss loaded on all cpus to be VMCLEAR'd if needed. crash_notifier_list ick gag

Re: [PATCH v8 1/2] x86/kexec: add a new atomic notifier list for kdump

2012-11-26 Thread Gleb Natapov
On Mon, Nov 26, 2012 at 09:08:54AM -0600, Eric W. Biederman wrote: Zhang Yanfei zhangyan...@cn.fujitsu.com writes: This patch adds an atomic notifier list named crash_notifier_list. Currently, when loading kvm-intel module, a notifier will be registered in the list to enable vmcss loaded

Re: [PATCH v8 1/2] x86/kexec: add a new atomic notifier list for kdump

2012-11-26 Thread Eric W. Biederman
Gleb Natapov g...@redhat.com writes: On Mon, Nov 26, 2012 at 09:08:54AM -0600, Eric W. Biederman wrote: Zhang Yanfei zhangyan...@cn.fujitsu.com writes: This patch adds an atomic notifier list named crash_notifier_list. Currently, when loading kvm-intel module, a notifier will be

Re: [PATCH v8 1/2] x86/kexec: add a new atomic notifier list for kdump

2012-11-26 Thread Gleb Natapov
On Mon, Nov 26, 2012 at 11:43:10AM -0600, Eric W. Biederman wrote: Gleb Natapov g...@redhat.com writes: On Mon, Nov 26, 2012 at 09:08:54AM -0600, Eric W. Biederman wrote: Zhang Yanfei zhangyan...@cn.fujitsu.com writes: This patch adds an atomic notifier list named crash_notifier_list.

Re: [PATCH v8 1/2] x86/kexec: add a new atomic notifier list for kdump

2012-11-26 Thread Eric W. Biederman
Gleb Natapov g...@redhat.com writes: On Mon, Nov 26, 2012 at 11:43:10AM -0600, Eric W. Biederman wrote: Gleb Natapov g...@redhat.com writes: On Mon, Nov 26, 2012 at 09:08:54AM -0600, Eric W. Biederman wrote: Zhang Yanfei zhangyan...@cn.fujitsu.com writes: This patch adds an atomic

Re: [PATCH v8 1/2] x86/kexec: add a new atomic notifier list for kdump

2012-11-26 Thread Zhang Yanfei
于 2012年11月27日 02:18, Eric W. Biederman 写道: Gleb Natapov g...@redhat.com writes: On Mon, Nov 26, 2012 at 11:43:10AM -0600, Eric W. Biederman wrote: Gleb Natapov g...@redhat.com writes: On Mon, Nov 26, 2012 at 09:08:54AM -0600, Eric W. Biederman wrote: Zhang Yanfei zhangyan...@cn.fujitsu.com

Re: [PATCH v8 1/2] x86/kexec: add a new atomic notifier list for kdump

2012-11-26 Thread Eric W. Biederman
Zhang Yanfei zhangyan...@cn.fujitsu.com writes: So in summary, 1. a specific callback function instead of a notifier? Yes. 2. Instead of calling vmclear_local_loaded_vmcss, the vmclear operation will just call the vmclear on every vmcss loaded on the cpu? like below: static

Re: [PATCH v8 1/2] x86/kexec: add a new atomic notifier list for kdump

2012-11-26 Thread Zhang Yanfei
于 2012年11月27日 09:49, Eric W. Biederman 写道: Zhang Yanfei zhangyan...@cn.fujitsu.com writes: So in summary, 1. a specific callback function instead of a notifier? Yes. 2. Instead of calling vmclear_local_loaded_vmcss, the vmclear operation will just call the vmclear on every vmcss