Re: [Xen-devel] [PATCH 3/4] xen/interface: don't discard pending work in FRONT/BACK_RING_ATTACH

From: JÃrgen GroÃ
Date: Mon Dec 09 2019 - 06:52:49 EST


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 not
a desirable semantic since most frontend implementations will eventually
block waiting for a response which would either never appear or never be
processed.

NOTE: These macros are currently unused. BACK_RING_ATTACH(), however, will
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.


Juergen