Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1764818rwb; Thu, 29 Sep 2022 01:47:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5t3pKbd+l4otXjp+IuL6DnCuaxaiHtR8R8WIbS3L2khgg8IG2SEZUPaumdgaRj3kv9cz12 X-Received: by 2002:a17:906:ee89:b0:73d:70c5:1a4e with SMTP id wt9-20020a170906ee8900b0073d70c51a4emr1758727ejb.683.1664441249684; Thu, 29 Sep 2022 01:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664441249; cv=none; d=google.com; s=arc-20160816; b=Skay3LKtYnaIYRk0dDb4wXZ9TMaz3jAAAxrjQrKHw8njWy7UYiVF+o6KkCmivXfzv9 WB/RgYMm6Ii7X249hVi38GjKzrEe5J4OwB7gZ/I204eqmMB2ietyAmJJm3uSapTIyg7j RcvzgmpKcUCI1g5riJ0Gi9iyyXWocXld+IhiclY+5ZYWpjbEtb8OScTxfYRW29LesTIi vzLt5MxNNv+hKRGSMVnrAWTrWN261ff9fpWOVZe37VaQhblnDCvMU4qtjU2bsFS2FNid 5s0s63muTRhXYg9mkn8eZizQIXugxPd0JFle6AxJ7xci569ktRF49kGOAk5d0yZxiRRN ynUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date; bh=soT/k8I3UVDf6oJ5IU1P20PFu+JWlz8A6qZ5X/jtack=; b=LmhaNnzNP7HGJKodHVOCQ8pKZ0y0OF/fh7/6/kyZ5lzgVnRZ1QfsQrciLl9UBrRZIy 5AZR8HhXzbcbTaZQdk3jzqVgIaT6JPeUYScn0DAai76hOjcA9WihSktDPlP6ege+jn+R KYgreh7bl+Nj8Wcg/n8FmryOX5f1JVu+a4sl3H6AyIRzn+NT5MnCVEKAe7MQ79S+4O4D o9Lt8hAaqqAvMr2o/muOQQSFiN8twWnHr4ombJE9CLqG0g124hTZ22aGiQslZmiISHDi QS6946w+gmsBexeak3zOgsRsoGc0nOVqZkHCHTFiGLeEXhUcVk1fexV/ZzueAz8JT5KC MVkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e12-20020a056402190c00b0044ce972297bsi8963207edz.561.2022.09.29.01.47.03; Thu, 29 Sep 2022 01:47:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235618AbiI2Ii7 (ORCPT + 99 others); Thu, 29 Sep 2022 04:38:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235608AbiI2Ii5 (ORCPT ); Thu, 29 Sep 2022 04:38:57 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1E5A9132FC2 for ; Thu, 29 Sep 2022 01:38:55 -0700 (PDT) Received: from chenhuacai$loongson.cn ( [112.20.108.220] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 29 Sep 2022 16:38:48 +0800 (GMT+08:00) X-Originating-IP: [112.20.108.220] Date: Thu, 29 Sep 2022 16:38:48 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: =?UTF-8?B?6ZmI5Y2O5omN?= To: maobibo Cc: "Qi Zheng" , "David Hildenbrand" , akpm@linux-foundation.org, muchun.song@linux.dev, chris@zankel.net, jcmvbkbc@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Muchun Song" Subject: Re: Re: [PATCH v2] mm: use update_mmu_tlb() on the second thread X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20220411(feba7c69) Copyright (c) 2002-2022 www.mailtech.cn .loongson.cn In-Reply-To: <24f6df23-82cc-1290-e015-cba2a284e060@loongson.cn> References: <20220926115621.13849-1-zhengqi.arch@bytedance.com> <24f6df23-82cc-1290-e015-cba2a284e060@loongson.cn> Content-Transfer-Encoding: base64 X-CM-CTRLDATA: Khox42Zvb3Rlcl90eHQ9Mjk0MTo2MTI= Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAf8Axk+GYWTVjLrEjAA--.7729W X-CM-SenderInfo: hfkh0x5xdftxo6or00hjvr0hdfq/1tbiAQAEBmM0OV4TRAABsl X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIGFsbCwKCgo+IC0tLS0t5Y6f5aeL6YKu5Lu2LS0tLS0KPiDlj5Hku7bkuro6IG1hb2JpYm8g PG1hb2JpYm9AbG9vbmdzb24uY24+Cj4g5Y+R6YCB5pe26Ze0OjIwMjItMDktMjkgMTI6MDU6MzMg KOaYn+acn+WbmykKPiDmlLbku7bkuro6ICJRaSBaaGVuZyIgPHpoZW5nc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