Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6784632rwp; Tue, 18 Jul 2023 06:01:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlEVqR+p7ZP2VAD/8+B7DTDhh5WnsW5uF3Gk8CHbDP1MVyZktneQEuBAlfGakBk6nBVWepu8 X-Received: by 2002:a17:903:1205:b0:1b0:3a74:7fc4 with SMTP id l5-20020a170903120500b001b03a747fc4mr15436488plh.24.1689685292683; Tue, 18 Jul 2023 06:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689685292; cv=none; d=google.com; s=arc-20160816; b=QUpMXpTKTc1Zq/yDOihb1OrX9ImhQMDOwpZUiK5l+x3Hz6mTOrmv8tuiH5Hz4hqcNj kZopE7TLQaDFCyURgfrK10OCUTB7EAl4yNo0ZEPEUhPiIu0fGqC6LWHH4rwvoTgY3XtA w1ODeD11pL8X3HYq+YS+Tn31J2ysehc84iwqp4QTwL7BtdxhCyz8ypKjFJFEvCwI3Xzf MqawY3LHm4TNO38vVgvM0V3mGIUFmtpel6OcFzXyONt+W3L8A3GDr1f1v7MqI+ZwfK1h yMdiQRFYv+A+ONCRDBSVZ9y2tNeGlAXQtV/0dNWGERbg2wJZ4oAV5kZhJU0sfC6vr56B DvSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=yFQ5hITuB6MZWte66Y29Nq11nLJRAb39Z/ksEuhc+ZU=; fh=jRM+jdlual/vt8AsXJJIGY9lvyTr8NePcrnf/azi4w8=; b=bQNEumMrnHvYOngx6CcjWJmYqNxc/hsv3nP+pCgKSrWdQpSPJiYzaIF+OF0WHJFE/R X2z3I/hqZK9KKgAh96M8UXW30QwKvuCbuYFYDwOpjgM49kUsvNr5eSPWWp5Z76fg/J+G zIFOUKex5ljRqn79CBCg7/4JGfJEC1PRm2QcTpOb9f7HQK7xKGQgW1KH6VZvOqqlhr07 EcRwxJZmgLToM+YPMbsuqPJJsC5V7IPLcDdFK7jxShSLkufPZ2NQorgC4V8ZHHTUHvhB 6jZBTMAcsHaDcWvrDTdQdmITtC3hWCA7JOMXcz8bPDSe3OoLCgGYa3V3HdwpU1T06PFD 6pOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LUb5Yhz5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i13-20020a170902c94d00b001b3c63eba76si1608883pla.492.2023.07.18.06.00.57; Tue, 18 Jul 2023 06:01:32 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LUb5Yhz5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231603AbjGRMn5 (ORCPT + 99 others); Tue, 18 Jul 2023 08:43:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231563AbjGRMn4 (ORCPT ); Tue, 18 Jul 2023 08:43:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 665FE188 for ; Tue, 18 Jul 2023 05:43:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0467A61566 for ; Tue, 18 Jul 2023 12:43:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AC30C433CD for ; Tue, 18 Jul 2023 12:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689684234; bh=H69WBcnYOQuCKZB+mMXzbqF5HH219LA2UP0b8Dgf3wI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LUb5Yhz5OZKJByb2qt+0w11sGoO5TvV/dTSlABh7IckZBkMW4olpKvn1WuRDR3YAf cG/xY+346fxreb1oS8dCkCSqQBOAS2hkVMOuh7x2ZWQT74L0ZByK+mRjuv7QExX5jb T8TJykY31EjvCsLS1evAJA0gn91OsITELyMOwMJpEIPun08HeQxw1hnPv9GwxR94La MBNuOYfs+PgYtQnkNC7vtZXZw2FD2A+JsjAnwyWjDZxm3z5S8M8iU4F/nh5Y42Afuy wnSJn9OK3c/v0gzVR1fVztFSbYKI0OkuPTdCvXGKmrNlHocx1UF8s+TnEwQiwTxLuU oUkuSCxwfKORA== Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-4fbb281eec6so9026965e87.1 for ; Tue, 18 Jul 2023 05:43:54 -0700 (PDT) X-Gm-Message-State: ABy/qLaYITyUrWTuED7gIYk3t8z1b/bSC7XrtDzTPXK8Jd06yQkYAaDf JO9ymk4JZlR78zGx5ALEOhmiITBTM/1ukxq/kjI= X-Received: by 2002:a19:7918:0:b0:4fb:9050:1d92 with SMTP id u24-20020a197918000000b004fb90501d92mr8224508lfc.51.1689684232321; Tue, 18 Jul 2023 05:43:52 -0700 (PDT) MIME-Version: 1.0 References: <20230615121016.3731983-1-chenhuacai@loongson.cn> In-Reply-To: From: Huacai Chen Date: Tue, 18 Jul 2023 20:43:40 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kthread: Rename user_mode_thread() to kmuser_thread() To: Luis Chamberlain Cc: Huacai Chen , Andrew Morton , "Eric W . Biederman" , Kees Cook , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Thomas Gleixner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 Hi, Luis, On Sat, Jul 1, 2023 at 7:25=E2=80=AFAM Luis Chamberlain = wrote: > > On Sun, Jun 25, 2023 at 04:55:33PM +0800, Huacai Chen wrote: > > Friendly ping? > > You want to cc the folks who Nacked your patch. Until then, this > probably can't go further. Thank you very much. Eric and Andrew are already in the CC list, so add Thomas now. My brain is a little old-fashioned so I insisted that "a thread without mm_struct should be a kernel thread" in the previous patch. Unfortunately this makes Eric and Thomas unhappy, I'm very sorry for that. During the discussion of the previous patch I know I made some mistakes about some basic concepts, but I also found the name "user_mode_thread()" is somewhat confusing. I think rename it to kmuser_thread() is better, because: 1, it identify init and umh as user threads; 2, it points out that init and umh are special user threads that run in kernel mode before loading a user program. Sorry for my rudeness again. Huacai > > Luis