Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6492131ybi; Wed, 5 Jun 2019 01:40:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxRxpsKy7pr50tIqqLcRjpkbP6aqvI0kwlhX1ofh+YeHUVg7QvJDOAeou6rWvQSMZWe97T X-Received: by 2002:a17:902:d916:: with SMTP id c22mr16730021plz.195.1559724055475; Wed, 05 Jun 2019 01:40:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559724055; cv=none; d=google.com; s=arc-20160816; b=L3Yg8rEBZFaaNPPZ1dR/OAgZw61xTKLsJHeLLCDKUY2WK+8dyquNjYcDe8LShzGI9F motZ+ZbE/iWGubR8ZAoMarirdzhpNPiCDvuJ8oHTxXq03iVcMYN9ePIBuEjlQp+lutFw stJVnKmYUXsZZUy2v1B9TkXhpwUE0hNmz6GRcVLa5RZ2sKywzU8t6o5mkMd7Fq75xH2B M+Uz4cOF+n9DiWrDphOcSKOZ3aiel0LzHBh7TA5DZowDuc5hIuFGL9kW8DotCsAHVcVI xuHFFsIAXUGv4xiCtBVwy1zACWe/r2HbtfJI15g8mJ9xZ3Hem0KqotApd95Bbgrjy43H dFDA== 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=+lkADTnAEbzdgBNflQ/JckOwERU4mtoqOBB8WHvOD6Y=; b=MYmcfjooQ51KOcV8MRKcBbTiEYBQ4eXQ/MJYJWpQiKPFWQlXzZBL3TvD1mTzeMXFap fb3zjlldu6TK8X4buj5pk9dHuKNTSAdXXZtC32Z6H/JLp0Kph3ftPAaV1waHuP6v/ALo FpEO//PrKdt1NdQTmPKUhjvGgUT0Vf9En61Is/ZaL0W7FiPqqLQ9S8B+Y6S8SDE3IiWx mGy1O4yYQdLv7fWSvFRKrrE6TNLKfLWAZ43Vja8AFj7QNyDG5YPb8djtuPe5WEh9WHI9 W3BDB9z+3vjYbJjOCkBVrlXDX+rQPhVVWMzCQc9fnB+y3GO+3ayU+Ir/DfLnmwTUuIDJ fZLg== 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 g31si28263882plb.241.2019.06.05.01.40.39; Wed, 05 Jun 2019 01:40:55 -0700 (PDT) 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 S1726922AbfFEIhj (ORCPT + 99 others); Wed, 5 Jun 2019 04:37:39 -0400 Received: from mx2.suse.de ([195.135.220.15]:52566 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726885AbfFEIhi (ORCPT ); Wed, 5 Jun 2019 04:37:38 -0400 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 B76D4AB87; Wed, 5 Jun 2019 08:37:37 +0000 (UTC) Subject: Re: [PATCH v2 3/3] xen/swiotlb: remember having called xen_create_contiguous_region() To: Christoph Hellwig Cc: Boris Ostrovsky , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, Konrad Rzeszutek Wilk , Stefano Stabellini , xen-devel@lists.xenproject.org References: <20190529090407.1225-1-jgross@suse.com> <20190529090407.1225-4-jgross@suse.com> <20190530090409.GB30428@infradead.org> <2fbfc6a7-572c-1ce2-3323-802f9a77500e@suse.com> From: Juergen Gross Message-ID: <0fcd8b61-7714-2278-e552-f0b72d9c5d1a@suse.com> Date: Wed, 5 Jun 2019 10:37:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <2fbfc6a7-572c-1ce2-3323-802f9a77500e@suse.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31.05.19 13:38, Juergen Gross wrote: > On 30/05/2019 14:46, Boris Ostrovsky wrote: >> On 5/30/19 5:04 AM, Christoph Hellwig wrote: >>> Please don't add your private flag to page-flags.h. The whole point of >>> the private flag is that you can use it in any way you want withou >>> touching the common code. >> >> >> There is already a bunch of aliases for various sub-components >> (including Xen) in page-flags.h for private flags, which is why I >> suggested we do the same for the new use case. Adding this new alias >> will keep flag usage consistent. > > What about me adding another patch moving those Xen private aliases > into arch/x86/include/asm/xen/page.h ? This is becoming difficult. I'd need to remove the "#undef PF_NO_COMPOUND" from page-flags.h or to #include a (new) xen/page-flags.h from page-flags.h after all the defines are ready. Is that really worth the effort given that other components (e.g. file systems) are doing the same? Juergen