Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp259275lqh; Mon, 6 May 2024 19:42:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVa7tv1n5vb1FUhtJHX38vrd7b+A4gLYMWUm90RfwkHhIHGjOvOQBF/aYfqHQ9Yzc0Pg0F0RJHTDGSTv+NuAkDb5SiP9jJkFdpsGq/I4A== X-Google-Smtp-Source: AGHT+IHP/rdvENitRW/e2q6mVZcpMJUjnaZ+DrXUg7sLhK1FmosyCS0S9R/tHVi+BM+ZeJAsT3Ag X-Received: by 2002:a67:e402:0:b0:47e:b219:8f11 with SMTP id d2-20020a67e402000000b0047eb2198f11mr13348009vsf.29.1715049721027; Mon, 06 May 2024 19:42:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715049721; cv=pass; d=google.com; s=arc-20160816; b=LACO0ReHqBi/O3Fg1JDgb+Y5KT/wMyjOZcp0wh4fDzVt177h+Xyc8DTLahwr1enSVi DALyzB5xavZjIMWySfyiUY6wj2/eOYnGGKG3em5KPdkgAYi2f1ZHYj7lQsPoqkQkjBpb zGZ90tBweKRlaTRgwfGRTYuFs8KRJbc3wJCnfrkj8kAyEVoOI0TZZbSEqm6UNTDQIKlx +2zF0vd6/4vIPoMfZzxGUxQb29j84AocwPUXJR+QXObd+ukCaRLdkzfwMqrjkvfsPcd9 fz83Nqvx1RiUbvHA4HAAnzvfOuNkF7aSq5LIdi0NM0kKhOQiOI2REZBA2x11NLo2cvNp ypXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BZDGVcL/3hvPJV4LMPmq/gF8xKWFiLl/BrDUZiYE92c=; fh=yqH/Ytw/hceKRPNsX2yVqNuE1oi8y3J9eRdnZAl+TxE=; b=lRWzrlRFTWeMzwxX0u3ckEEPeMlEyiX0SxlYSpY7X+KkfzW23PLmBSHKTrEWdVm1BZ kUcxxThtZ9qrEZp9Eb7gKjVaqggTTWDTOvz9/PuUUn/gLYZuDb1I5zc5427gJHy24dwo vg8CJAHjPuEkG0vBbeC/qF3hrrZ9c8tFJms/g50koPKymSlLkTrNhcDgfjsuJrzlshPR avePQY6KachHSlk6XAICkleye+3appKTBQ2XcieYQHI8LSmdG5j8AzpJ8uW5HTuldhRS LyaRDJh0ecGmC6yyfz7WZm9V1EGzgIgLuy2W20tX4e54+p6qcBbgJDuiHEJEiJq8OrBb yYuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KfOM/Uz8"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170592-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170592-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c32-20020a05620a26a000b007905cecaac2si11782233qkp.211.2024.05.06.19.42.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 19:42:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170592-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KfOM/Uz8"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170592-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170592-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 6AE451C21A1B for ; Tue, 7 May 2024 02:41:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FF3A21101; Tue, 7 May 2024 02:41:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KfOM/Uz8" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A52D24A12; Tue, 7 May 2024 02:41:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715049713; cv=none; b=N2dcn76dzMUcWW4BsUiqqYmQ7zjDTF7P55ZAlpcGK6v34THclnsl/J0nQwg3+MyLZmCE3KZBu5EOft0euzR8o2R/aF31IVsLytPVYZ8V3oMFUTZnYPEiL9qvvnvAsXn5hM9NNVs9ZHs1BaSIJ6Dl+H6ghapj+xT2W04YVK965GY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715049713; c=relaxed/simple; bh=5ZbJZ+MRgMQv8oPdoPolCY3a9EiStO8pBdLRaT33Z80=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=smAjssC6bHmBP6HYi3xZd5j6GkrbT3hW/v5CcqYs02TgHp5lt624gssH6gSUHuL45wp16iZk18AQAIVnwOlQm4Nv36nXo/JtMiN7Tf7O5Jh6GJlGYKRGZHWtN2BDjd2PWCVNh9JliH6WLoo4ZUTTpAfBweNSvEC2cV0wmGaUZC4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KfOM/Uz8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E88D7C116B1; Tue, 7 May 2024 02:41:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715049713; bh=5ZbJZ+MRgMQv8oPdoPolCY3a9EiStO8pBdLRaT33Z80=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KfOM/Uz8fc1oVzZbLOVKGH4oSHS+lpvtE2r/SffaTnqzIKzkIcdGTfMIgNZVEBCw3 5V1hINuVVnZRW0tkyLNE1SbXy1gjxpwLTPuzpeKso5J7LZGnvzCrJb8EfVz5xSgIj5 d2QhVTVreshqWrB06cQ0WAmddHzIdOWZfu7fROniQ0GGWUlfyyI5lQzcteJWCUB6hm vY0+Y1wGF+2E4FZUWNduEBSJYJxa0t/Bu2gz/mW5i1CiFSpnkIZxZITTOO59Yzezl8 Zl7wrahmNZUT4mD0DmQv8gAxpJ4WgB3Wenc8jxq3Z7dhuoKvRqeGaw8ObNJ9o/oltN 38YJKO6+tGndA== Date: Mon, 6 May 2024 19:41:51 -0700 From: Josh Poimboeuf To: zhang warden Cc: mbenes@suse.cz, jikos@kernel.org, Petr Mladek , Joe Lawrence , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/1] *** Replace KLP_* to KLP_TRANSITION_* *** Message-ID: <20240507024151.6jto4zraqfbqxcw2@treble> References: <20240507021714.29689-1-zhangwarden@gmail.com> <0E399FCD-396E-448B-A974-6034F4CF2B53@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0E399FCD-396E-448B-A974-6034F4CF2B53@gmail.com> On Tue, May 07, 2024 at 10:21:40AM +0800, zhang warden wrote: > > > > > > transition state. With this marcos renamed, comments are not > > necessary at this point. > > > Sorry for my careless, the comment still remains in the code. However, > comment in the code do no harms here. Maybe it can be kept. The comments aren't actually correct. For example, KLP_TRANSITION_UNPATCHED doesn't always mean "transitioning to unpatched state". Sometimes it means "transitioning *from* unpatched state". -- Josh