[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 03/11] xen: defer call to xen_restrict until just before os_setup_post
On Fri, Mar 09, 2018 at 12:07:21PM +0000, Ian Jackson wrote: > Ian Jackson writes ("Re: [PATCH 03/11] xen: defer call to xen_restrict until > just before os_setup_post"): > > Eduardo Habkost writes ("Re: [PATCH 03/11] xen: defer call to xen_restrict > > until just before os_setup_post"): > > > I don't think we should have accelerator-specific code in main(), > > > if we already have accelerator classes that can abstract that > > > out. I suggest adding a AccelClass;:setup_post() method that can > > > be called here. > > > > I think I can do that. > > How about this ? > > From 61f11221afaa29e10021599420238e03836ba413 Mon Sep 17 00:00:00 2001 > From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> > Date: Fri, 9 Mar 2018 12:02:50 +0000 > Subject: [PATCH v6.2 12/11] AccelClass: Introduce accel_setup_post > > This is called just before os_setup_post. Currently none of the > accelerators provide this hook, but the Xen one is going to provide > one in a moment. > > Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> Looks good to me. Reviewed-by: Eduardo Habkost <ehabkost@xxxxxxxxxx> That said, I don't think this should block the inclusion of the previous patch in 2.12, if the Xen maintainers were already going to merge it. -- Eduardo _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |