Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2664424rwe; Sun, 28 Aug 2022 18:58:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR7C83SrePKoI6EnkxfOxOLwkUtxz8aRUg+25XY9+h+RLqHwZVyA7Rt8zDbbQ9Owm4xVMrze X-Received: by 2002:a17:90b:1b4a:b0:1f5:5578:6398 with SMTP id nv10-20020a17090b1b4a00b001f555786398mr15957846pjb.122.1661738297823; Sun, 28 Aug 2022 18:58:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661738297; cv=none; d=google.com; s=arc-20160816; b=E+pbxi4HrIaWazpRiMuS25F8nzUEdoJHexWGWIi0Sx0bLv8cj2b8T8Of6kGdRDrOad F6Kc0SzHD69ayEblKQV5PzsllFrd5RBZCsR+7wZe0i8nCJelTBR/vSaoTYpGhlJQyRux RPzQqb5CpRiaLpuaa3DwiTnZMVmn4ylkZ66A2LY5RaAPFCWnRipYmUUDLQWLwQCpC/Nj M7NfV5EpmjqYB2qI4Utq59GlCK3whDSvLFSplTgxKl5tU1C3NwuFRklCZFASfwK+rR8L DyzVgulnLwcQ58TS7stvES2eGKlJkMgX29hSTL+mE8th/6Y2ZLZhBCl04ZAqms9xbhH4 taRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=k9odZfNOBGzL15cjC2og7FoUUJA9eaVpXATpjFdMoEg=; b=MlC/FeCzpsP/e+bXpQ7tteevs0XD8BV3mBhrg+F6wl9dsRS0dDTWJoCMZGSQAUOUrG T9VG3XYug3/ckeq6SbBE8c/DSx1qkbkWUEtrIjOpLSS7EpXcU+DKPUCaqDQeDFZOSsm8 sFN4Pmz8lcOjcCYJli144hoRiHUZlyez4JjvnM9RUyrkfVx6Lu9eeGJONRkCtLJR0dri L5H8toN1DeyuS7VPkL5YsLiOdsmMw+3/jnIZV4y/E7QQZAKKC05LnKQZuAmWla8xZVqo TnmqvxbUqJ9UNTF4yFe3PSmfidrEpx7K2MugqPJ+YE2StviwiIAOWDQvLB7oGDyZBo65 Pqvg== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y22-20020a170902b49600b0016a2a8ac8e0si1390502plr.531.2022.08.28.18.57.50; Sun, 28 Aug 2022 18:58:17 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229603AbiH2B0a (ORCPT + 99 others); Sun, 28 Aug 2022 21:26:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbiH2B02 (ORCPT ); Sun, 28 Aug 2022 21:26:28 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E27C92A954 for ; Sun, 28 Aug 2022 18:26:26 -0700 (PDT) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MGCNm50KQz1N7Rq; Mon, 29 Aug 2022 09:22:48 +0800 (CST) Received: from kwepemm600017.china.huawei.com (7.193.23.234) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 29 Aug 2022 09:26:24 +0800 Received: from [10.174.179.234] (10.174.179.234) by kwepemm600017.china.huawei.com (7.193.23.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 29 Aug 2022 09:26:23 +0800 Message-ID: Date: Mon, 29 Aug 2022 09:26:22 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH -next v2 1/2] riscv: uaccess: rename __get/put_user_nocheck to __get/put_mem_nocheck To: Arnd Bergmann CC: Paul Walmsley , Palmer Dabbelt , Palmer Dabbelt , Albert Ou , , , , , Guohanjun References: <20220815032025.2685516-1-tongtiangen@huawei.com> <20220815032025.2685516-2-tongtiangen@huawei.com> From: Tong Tiangen In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.179.234] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm600017.china.huawei.com (7.193.23.234) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 在 2022/8/27 20:49, Arnd Bergmann 写道: > On Sat, Aug 27, 2022 at 12:43 PM Tong Tiangen wrote: >> 在 2022/8/26 17:30, Arnd Bergmann 写道: >> >> I am very interested in the implementation of X86. I need to investigate >> and consider a cross architecture implementation. > > One more point about the cross-architecture work: it generally makes > sense to do the most commonly used architectures first, usually > that would be x86, arm64 and powerpc64, followed by riscv, arm, > s390 and mips. If we can find something that the first architecture > maintainers like, everyone else can follow and you don't have to > rework all of them multiple times before getting to a consensus. > >> However, I understand that the modification of the current patch has >> little to do with the two points mentioned above. We can optimize the >> code step by step. > > You are correct that this has little to do with your patch, my point > was mainly that your patch is moving the code further away from > the other architectures, so it would make it harder to then do the > changes we actually want. > > Arnd I understand what you mean,it's reasonable. Thanks, Tong. > > .