From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id 6BFEE3860C3E for ; Fri, 11 Dec 2020 18:02:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6BFEE3860C3E Received: by mail-wm1-x32a.google.com with SMTP id y23so9442113wmi.1 for ; Fri, 11 Dec 2020 10:02:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Ty+T6a9ooC0cShXvsT6L3/lIetMXFkaLJpCkL5/Dvpo=; b=UhvMx6LG6ebxrA6+bAAQZT/xNmY30InDGt/xSuAX4cDyWiCHAegLi4kDYFKzW1xAhR zR6Ffu3DyWJiT7/1m8O32sYOopIYIw8NU0FKwBibVUtA+YbWtrL9tfdHfM7MQFXdBu9A ghYh90j2S6PVxwqOr4wGqTpNIwFWO3NuxU9vgJTJSCO2p7xaG83AplQaCIXjZWqiFk58 44Iiv89jJtHU/bNYIhox/PBTXRte1FyUkX9WpMFlCTw629XMz5uLxZIWj4BSOioFweko VabyfkQxAsG4PTUR3V/JqUDFY8eAg1WF5g/XN6d3PnUuRzHuyjBuTbKuasSk5WupcLcv czCg== X-Gm-Message-State: AOAM532RGVQ/zBSIEo2MAFs21JCWzpRXc+foaIkS36XWQ5UIIFohPnFC jFeB3NDWuBYyOpdEOJUTfpg= X-Google-Smtp-Source: ABdhPJzDIIx9E3DaaIgV0/wvbIeaQ/7B1enmuUZWdTbGA3hrYNfofgYc5PU5L+/kbgtHApuA/3zUoQ== X-Received: by 2002:a1c:3b46:: with SMTP id i67mr14274060wma.108.1607709741551; Fri, 11 Dec 2020 10:02:21 -0800 (PST) Received: from [192.168.1.143] ([170.253.51.130]) by smtp.gmail.com with ESMTPSA id a13sm16463520wrt.96.2020.12.11.10.02.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Dec 2020 10:02:20 -0800 (PST) Subject: Re: RFC v2: Re: cacheflush.2 To: "Michael Kerrisk (man-pages)" , Heinrich Schuchardt , Dave Martin Cc: linux-man@vger.kernel.org, gcc@gcc.gnu.org, cfe-users@lists.llvm.org References: <794cf0d1-d528-4b5a-3ce0-b1b5f588dc6d@gmx.de> <20201210181726.GT6882@arm.com> <747d56e0-c102-ab40-add4-530a48a43a4d@gmx.de> From: "Alejandro Colomar (man-pages)" Message-ID: Date: Fri, 11 Dec 2020 19:02:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2020 18:02:23 -0000 Hi Michael, On 12/11/20 9:15 AM, Michael Kerrisk (man-pages) wrote: > i Alex, > > On 12/10/20 9:56 PM, Alejandro Colomar (man-pages) wrote: >> Hi all, >> >> v2: >> >> [ >> NOTES >> Unless you need the finer grained control that this system >> call provides, you probably want to use the GCC built-in >> function __builtin___clear_cache(), which provides a more >> portable interface: >> >> void __builtin___clear_cache(void *begin, void *end); >> ] > > This seems a reasonable text to me, but I think it would be helpful > to say a little more precisely what kind of portability we are > talking about here. Sure. > > Greater ortability across Linux architectures? Greater portability > across platforms supported by GCC (including non-Linux) platforms? > Something else? '... which provides a portable interface across platforms supported by GCC:' sounds good. Maybe GCC devs have something more to add. Thanks, Alex > > Thanks, > > Michael > > -- Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es