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 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

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

2012-11-26 Thread Eric W. Biederman
Zhang Yanfei 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 void crash_vmclear_l

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 writes: > >> On Mon, Nov 26, 2012 at 11:43:10AM -0600, Eric W. Biederman wrote: >>> Gleb Natapov writes: >>> On Mon, Nov 26, 2012 at 09:08:54AM -0600, Eric W. Biederman wrote: > Zhang Yanfei writes: > >> This patch adds

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

2012-11-26 Thread Eric W. Biederman
Gleb Natapov writes: > On Mon, Nov 26, 2012 at 11:43:10AM -0600, Eric W. Biederman wrote: >> Gleb Natapov writes: >> >> > On Mon, Nov 26, 2012 at 09:08:54AM -0600, Eric W. Biederman wrote: >> >> Zhang Yanfei writes: >> >> >> >> > This patch adds an atomic notifier list named crash_notifier_li

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 writes: > > > On Mon, Nov 26, 2012 at 09:08:54AM -0600, Eric W. Biederman wrote: > >> Zhang Yanfei writes: > >> > >> > This patch adds an atomic notifier list named crash_notifier_list. > >> > Currently, when load

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

2012-11-26 Thread Eric W. Biederman
Gleb Natapov writes: > On Mon, Nov 26, 2012 at 09:08:54AM -0600, Eric W. Biederman wrote: >> Zhang Yanfei 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 vm

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 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 V

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

2012-11-26 Thread Eric W. Biederman
Zhang Yanfei 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 please no. Effectively th