RE: [Xen-devel] [PATCH 3/4] xen/interface: don't discard pending work in FRONT/BACK_RING_ATTACH
From: Durrant, Paul
Date: Mon Dec 09 2019 - 07:50:29 EST
> -----Original Message-----
> From: Xen-devel <xen-devel-bounces@xxxxxxxxxxxxxxxxxxxx> On Behalf Of
> JÃrgen GroÃ
> Sent: 09 December 2019 11:52
> To: Roger Pau MonnÃ <roger.pau@xxxxxxxxxx>; Durrant, Paul
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx; Boris Ostrovsky
> <boris.ostrovsky@xxxxxxxxxx>; Stefano Stabellini <sstabellini@xxxxxxxxxx>;
> Subject: Re: [Xen-devel] [PATCH 3/4] xen/interface: don't discard pending
> work in FRONT/BACK_RING_ATTACH
> On 09.12.19 12:41, Roger Pau MonnÃ wrote:
> > On Thu, Dec 05, 2019 at 02:01:22PM +0000, Paul Durrant wrote:
> >> Currently these macros will skip over any requests/responses that are
> >> added to the shared ring whilst it is detached. This, in general, is
> >> a desirable semantic since most frontend implementations will
> >> block waiting for a response which would either never appear or never
> >> processed.
> >> NOTE: These macros are currently unused. BACK_RING_ATTACH(), however,
> >> be used in a subsequent patch.
> >> Signed-off-by: Paul Durrant <pdurrant@xxxxxxxxxx>
> > Those headers come from Xen, and should be modified in Xen first and
> > then imported into Linux IMO.
> In theory, yes. But the Xen variant doesn't contain the ATTACH macros.
OOI do we have a policy about this? Re-importing headers into Linux wholesale is always slightly painful because of interdependencies and style checking issues.
> Xen-devel mailing list