[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 2/6] xen: add helper for calling notifier_call_chain() to common/cpu.c
On Thu, 2019-03-28 at 13:06 +0100, Juergen Gross wrote: > Add a helper cpu_notifier_call_chain() to call notifier_call_chain() > for a cpu with a specified action, returning an errno value. > > This avoids coding the same pattern multiple times. > > While at it avoid side effects from using BUG_ON() by not using > cpu_online(cpu) as a parameter. > > Signed-off-by: Juergen Gross <jgross@xxxxxxxx> > --- > V2: > - add nofail parameter to cpu_notifier_call_chain() > - avoid side effects from using BUG_ON() macro (Andrew Cooper) > --- > Reviewed-by: Dario Faggioli <dfaggioli@xxxxxxxx> Regards, Dario -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <<This happens because _I_ choose it to happen!>> (Raistlin Majere) Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |