Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4003056ybl; Mon, 9 Dec 2019 03:53:57 -0800 (PST) X-Google-Smtp-Source: APXvYqyusgvX+jan8jCWvlxKHd0MCd29zyr88RYybM9o9bR2dLgDoH8mQeMQcFphYccPTeYUirRL X-Received: by 2002:a05:6830:2361:: with SMTP id r1mr20222888oth.88.1575892437109; Mon, 09 Dec 2019 03:53:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575892437; cv=none; d=google.com; s=arc-20160816; b=kTA/wStZ+gTsPixEWXOKm+o781f8DRgwwzphvUjRMD9Ls8Fzc7ocuPF6j5q7aI9Waa I7x5VkyThYurXwFT1l4XtJDIdm3JBwGdKPLeJyllrlzOw2G7eSeWVEZfylfVN4ew13St KM1jKrMFJCdh1a4cPZSyWKiamuJBFoDoizVwJec0yCZf4Syfmd+7Y/5SPg1jgRV18CCD mB1w7/eSEBGhMOEQLQxzbkKM8/u4qYSs76yhhMzPquGjF9ellCgvWeiWu3XK1eEzjgSY EszkZJrTaTphaxj9pOWDQvbet8ZyADT0ct1lg+3+pdA2gu289rEn7L20BwL6sWR9gPlX qaHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=lvfNQiaCqfAuvzsamWd5Ns3B5Bzehqenn9xj4gmFIM8=; b=0pdlpJtzp6NwZ3FSrx/k6DkM2YqJYogg4OB1VZhN9n5pFVbSe7zJLEHnNg3bjO00GI QyqjFWRoZD1NcF/pSeh+KDuVN/ea/zozP/nPyYzrdxALPxn0Ln+SCi0F1owfvd8lw/8W PsgVLt6nTyef9TUdMf2veDgeO9Dzq0uRSZzPv38jjgN9NXo/OJigPzS9zgJtnkkz3YKE kyo2ysy8jMBrAEBBciB1IZc29t5zlKLruc/JP5EQfNxCD3mY2jKDlL6/CcJQ1nX8V/++ r+MRoUtnVWfhpGc9GlJMAJqyuFMjeltmkUb8IvPf7iHXnjwunfWDwbPW9WYREn1UX1e0 X8vQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si10812068ote.135.2019.12.09.03.53.43; Mon, 09 Dec 2019 03:53:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727598AbfLILws (ORCPT + 99 others); Mon, 9 Dec 2019 06:52:48 -0500 Received: from mx2.suse.de ([195.135.220.15]:44330 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727074AbfLILwr (ORCPT ); Mon, 9 Dec 2019 06:52:47 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 1E517B15F; Mon, 9 Dec 2019 11:52:17 +0000 (UTC) Subject: Re: [Xen-devel] [PATCH 3/4] xen/interface: don't discard pending work in FRONT/BACK_RING_ATTACH To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Paul Durrant Cc: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, Stefano Stabellini , Boris Ostrovsky References: <20191205140123.3817-1-pdurrant@amazon.com> <20191205140123.3817-4-pdurrant@amazon.com> <20191209114137.GT980@Air-de-Roger> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: <5777c17b-9028-2525-1322-6c05f1ce3aab@suse.com> Date: Mon, 9 Dec 2019 12:52:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <20191209114137.GT980@Air-de-Roger> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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