Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4489059pxt; Wed, 11 Aug 2021 07:14:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybrPs5bjm/5SY0m+Tj4wmw6G4Y+LdWhzE0mqZxyOigLZDCTQkYMkjThqTXBagRotkq4W1j X-Received: by 2002:a7b:c0c6:: with SMTP id s6mr21943324wmh.21.1628691263251; Wed, 11 Aug 2021 07:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628691263; cv=none; d=google.com; s=arc-20160816; b=hhj6C3UwHtr8QrOcvGI3Bg7Ej5xkhTfsJM6w3yExrrhHY6p/ZqScsi88o1G7bhTkpm coLEJMTS8LfP8Fqzns34NUdu1hYwYA+RCBWoavbZWJ//03p/ordPorX7Gx2X8V2zIEIx iKHDpVy6TnSOVquxb6sFR0dhzoU8zkT33P1nSm9o8Gax3idvoPM83K6MhR+hap+jE/qs gfFsJ0yvn/Eixw+NDhabpfDsEpqEVq174f4nMQFx6rGYvZ+cw9r+IjYRoaLSK+QcBV7r fqYiiYLn1h6K0OSM5Nko5pDVYTPH+XQIm1OrukvdRqZxF4carBrvf50It1gmQbTzO6nY HCtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=W2M6SC5WTRhM9+LsbFLq8PbrZSTfZ03eMhf17cdn4bQ=; b=mhHP6b2eTN5FxkvD55zmNuvipxECyTk+nrDwxKh+8VA3TwRDCxrODpfVKiojkeebwv +svRpIys9XU7Pef9+7ZfwZ+2pVSWWGHoirhIRO0ZByA4NUZjK0kzkjj2BP5p+t7oknwq UloMIJeYtYP1xklwIpYtZV/9L9D19NB2UH+K0aT2P6bUeXdU83JlemSGnCYn2zrmMmBw nji3gM6XA9J9t56gUx0bxwvDPWtznAxzSR8wHMqYJi0J5VILLlkLg9SgRgzpjZXbpzeT ixJPfW3j+HDeRRsJMNqglaj0fa6LlSQKhVBuheOaoHpIiqqO9dnI+kivne0aeAi+E6dC aRug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=I93d0JXk; dkim=neutral (no key) header.i=@suse.cz header.b=EaswygC5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si24070213ejj.448.2021.08.11.07.13.57; Wed, 11 Aug 2021 07:14:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=I93d0JXk; dkim=neutral (no key) header.i=@suse.cz header.b=EaswygC5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232286AbhHKOMQ (ORCPT + 99 others); Wed, 11 Aug 2021 10:12:16 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:54958 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232257AbhHKOMP (ORCPT ); Wed, 11 Aug 2021 10:12:15 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3411522194; Wed, 11 Aug 2021 14:11:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628691111; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=W2M6SC5WTRhM9+LsbFLq8PbrZSTfZ03eMhf17cdn4bQ=; b=I93d0JXkdcR8sJ79QdqHA7nC0GTtPfKT90H2MMBGyUjyqFZxSCz32oGBDifEtUS+1f9zVn sVJDAS5+gwJ0o//0197Mh/qlT281j/cVWEkq0M43qO6wp+7+3lFtRJtTA81k4q6nAAGxdX cj364ABwY0DzeXHlmc3mqO68yG78t/M= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628691111; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=W2M6SC5WTRhM9+LsbFLq8PbrZSTfZ03eMhf17cdn4bQ=; b=EaswygC53h8mTjHHBo6E1W5N4P/tSWdoI0eVGQhMI8qTqSb7K4vidSO7Nx3a7NGkedIgHo 0RbVHb5DpWja1VCA== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 20CDB13969; Wed, 11 Aug 2021 14:11:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id EVs/B6faE2HbRwAAGKfGzw (envelope-from ); Wed, 11 Aug 2021 14:11:51 +0000 Subject: Re: [PATCH v14 053/138] mm: Add flush_dcache_folio() To: "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-54-willy@infradead.org> From: Vlastimil Babka Message-ID: Date: Wed, 11 Aug 2021 16:11:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210715033704.692967-54-willy@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/15/21 5:35 AM, Matthew Wilcox (Oracle) wrote: > This is a default implementation which calls flush_dcache_page() on > each page in the folio. If architectures can do better, they should > implement their own version of it. > > Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Vlastimil Babka