Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3166498lqo; Tue, 21 May 2024 08:37:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6gI50yUc1u6V8+6+LWfqbNLRQeceWZ6H4NzWYUnXIYmNRF2zT0P0WZFHDhF54NeA7tEASHAsj4QdjVEHl2PLQwg7c/ntRKO/ys435aw== X-Google-Smtp-Source: AGHT+IFS1S9Y4RCqaMGOZ3keQwg+bVMnNVQa/ZTp4wJK6iY0z7Xk+g/8bLeXBgoNrA+732NkkUuV X-Received: by 2002:a05:6214:3118:b0:6a9:98a9:88d9 with SMTP id 6a1803df08f44-6a998a98987mr82415086d6.17.1716305853159; Tue, 21 May 2024 08:37:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716305853; cv=pass; d=google.com; s=arc-20160816; b=OJAMBZ/loKPxiz1XJgOE9cIKsprhN0aTDaGhcdCdA+s539GMMeXmZ6eOF+kKrng/aE Si8/jzs/1C2zEUCUduFVQDaw5sLEdydoVJX5HF7y5WIq62cFf3vGHtRg3AdHU4muK7X1 nal8mfFMLRyCeHhHQVUsRNj/ud6HO7xSEfTCSFo3kYI33dn5XZ2oHzqtaP7RToyXBBO0 KYq6NyhSbr4ocadZZbjR0YJCtQDyoznW7DXEpr6FIcZE0bdsUzqZY7iW3wq1XVLkG1GP n05bOhozG2Wi+ZlF+M5C88gCV3qjBUgBE0qtYgxL+DavBxqnaXCwWJtIebI1mE/vdBLl HlcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=BsUOCl1wZm20I4sMYgfdQkLnm5pLpgfzJ1P84WVKH8k=; fh=neXYw+V2WSSO60m0EcKzjZ3BVn0qM5nLR1J6kLv0Svw=; b=GSNrJQZAfYfhQvgxHTl3heBHg4wjnfjZuzyyTlMIBv3XAd746a+cHf9BhTGQ0AIBgl /55K/4r80u51s/gfVpHBni0mhZKDc3fZnFLk9/xWHw+BH0zv31La4ava43IJqm3sRc+K /j7yRU5MuGDJ+zLWQan1yi5ihwM1A2txj6QoAvYZrASHKcacde0ZPAKgAcH4KVMaeQdL FQwKz5zr7mHQyaj72vNWsBDNAu7liJqLGH4xzkmgMauMujokkOCXQwWH20sSgEzSVf7y ZS5Q4O2uGXzHD1gkrds+TQHkvgLmDSZTAsWgGJuOKbfVE3WQh38VbWivEVl2V7qXWHUX m2FQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@antgroup.com header.s=default header.b=NeLnc5xi; arc=pass (i=1 spf=pass spfdomain=antgroup.com dkim=pass dkdomain=antgroup.com dmarc=pass fromdomain=antgroup.com); spf=pass (google.com: domain of linux-kernel+bounces-185169-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185169-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antgroup.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ab6c90bc54si33644666d6.441.2024.05.21.08.37.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 08:37:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185169-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@antgroup.com header.s=default header.b=NeLnc5xi; arc=pass (i=1 spf=pass spfdomain=antgroup.com dkim=pass dkdomain=antgroup.com dmarc=pass fromdomain=antgroup.com); spf=pass (google.com: domain of linux-kernel+bounces-185169-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185169-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antgroup.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EA4C71C2185C for ; Tue, 21 May 2024 15:37:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83CA9146A97; Tue, 21 May 2024 15:36:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=antgroup.com header.i=@antgroup.com header.b="NeLnc5xi" Received: from out187-24.us.a.mail.aliyun.com (out187-24.us.a.mail.aliyun.com [47.90.187.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E823446B4 for ; Tue, 21 May 2024 15:36:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=47.90.187.24 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305817; cv=none; b=ukhTvAKlZNPwGqUGtTHVTrU5IxtunGE+QvE/kxGDTyqMVvkeT+VnJiPguvVMiCw9brSd/pvxiHiwJIIJD0vrWmkqQ2Oa7EQiwUo1AqkLAv1mT9+3WgtlJx57TZzk1HWKbJVHKv+wfPziFT3bgiU/MURhNOCigl4EaekpmtIFy/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305817; c=relaxed/simple; bh=hhAiEHhq/+IVLuhBoxRZN0I/2XRvsWbz5OZ17hmIP3E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=a88bURwV64XrtNC7OTdQwbaL6PIIVs6sAOJQFZo8/eCJsGwaUFLCmXCUt7lfy7x5jjWwae4n0pWk0ePfRWup7dNNYVyJJenieHpD/xFZUgC0Tz10ZvndHosBmaVMFS9b1q2wK4nyeEu84RN2dRWswiU7hvRHpbcyOJDgKbTipRM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com; spf=pass smtp.mailfrom=antgroup.com; dkim=pass (1024-bit key) header.d=antgroup.com header.i=@antgroup.com header.b=NeLnc5xi; arc=none smtp.client-ip=47.90.187.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=antgroup.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1716305797; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=BsUOCl1wZm20I4sMYgfdQkLnm5pLpgfzJ1P84WVKH8k=; b=NeLnc5xi7JQWW0zvPfktDPaYQa3TByKwliCOjY94VEn7jtsXQc7FAL1PRwuLVpfw3zgFzELGxP6jBiuwgFnT9PUw+P6MpCoIOOCbzfZ4HK4pO/pfGduBmHqQ1U2tdp1DEx8QnXrmmhlNg6o7zkDEnI8dlgi1gcamun+N6lXRg9I= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033055230028;MF=libang.li@antgroup.com;NM=1;PH=DS;RN=15;SR=0;TI=SMTPD_---.XjOK41._1716305793; Received: from 30.236.49.195(mailfrom:libang.li@antgroup.com fp:SMTPD_---.XjOK41._1716305793) by smtp.aliyun-inc.com; Tue, 21 May 2024 23:36:35 +0800 Message-ID: Date: Tue, 21 May 2024 23:36:32 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/3] mm: Add update_mmu_tlb_range() To: David Hildenbrand , akpm@linux-foundation.org, chenhuacai@kernel.org, tsbogend@alpha.franken.de, paul.walmsley@sifive.com, palmer@dabbelt.com, chris@zankel.net, jcmvbkbc@gmail.com Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, loongarch@lists.linux.dev, linux-riscv@lists.infradead.org, ryan.roberts@arm.com, ioworker0@gmail.com, libang.linux@gmail.com References: <20240518074914.52170-1-libang.li@antgroup.com> <20240518074914.52170-2-libang.li@antgroup.com> Content-Language: en-US From: "Bang Li" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi David, Thanks for you review! On 2024/5/21 17:32, David Hildenbrand wrote: > On 18.05.24 09:49, Bang Li wrote: >> Added update_mmu_tlb_range(), we can batch update tlb of an >> address range. >> >> Signed-off-by: Bang Li >> --- > > The generic variant that is a NOP from patch #2 should go into this > patch as well. Good point. Thanks for pointing this out. Thanks, Bang > > Apart from that LGTM >