Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp252621lqh; Mon, 6 May 2024 19:17:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsPpPbQ8kJMi6fTMNJ8OZV3bzPxIv9WQHaW3DxsIbTsnnlnO8QcbGhSA8MZcE8+DCLeretxcsktIn2cRFIeQENLyTOd4EoxwXEGhb0YA== X-Google-Smtp-Source: AGHT+IG984UxyKTW7eQB9Bh0yGC27Eq2aBNX51CVfsQN2nt5mNIhxsmkU1MnNAQ1cGV6LbHFizrc X-Received: by 2002:ad4:5fcf:0:b0:6a0:b0e3:3571 with SMTP id jq15-20020ad45fcf000000b006a0b0e33571mr13678106qvb.19.1715048258339; Mon, 06 May 2024 19:17:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715048258; cv=pass; d=google.com; s=arc-20160816; b=XI15omYlbnvRU6tUoqFgjyZ9OtzyVsQaXHsdsbj1cOxkPg6Iw2bpuFx6dN5vDpkogd dU6lV5ITC+U82pbPes53D4XtA81LQljgIOpL2CI2cJRTng/76qmy+o+/utg2R72uXp8x eBZDNbkNf7tBO6acdLSsWLJCK/TT5wJM/CCW0/l7pQqClEBSSr62s4FoaZ89xYmEp+ub BsqMkHlWbg5Ws4DravABHhiuBKyFnm8w+pLISFKiL4kjxQJHPY+wNR1a8fN24p6zDrHN F8F1AqeosxaZK7eQaU2zrkJINW4t4JvcIOF5896gLG1/r9dDuReVyC5Qn1ZJsREJNT+d cmuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=WNlF+4aE7JvU4ewsWDtXETsCJ1djlC6/3VF67xnJzas=; fh=1qXO79XD9ndEbsDuy+KZsluZXxvKrriMtDPrryH1JOk=; b=YdsMz00v0xLTBZeJrOCdH+0cdnGtc2iYNmQYWbJbeZvZcU+c+kCEq8vQwMAalqolUg HsZ0spgbC6H4rL6DRKpVC53ANZOZksfagwJzpwGG3Cap4JWiF6AhiFRNPdo2GLT13oXX wsA+T6+HgN9NPVBQipyRvnANX01R75sCgJLIkizMYL1FZV+OwXv/+RvL90eMjRTeO+ID dVJQquxy0dA+wb8CyD/wSdhhta6RUmC7NOGdFwg1vGkWYFf3aTf11E4xToFIJuPQFbu7 p5m+2NY94QJpINZR3udTHr0Ze8GmAtNSevcSnldMh5MhTixok6yaGFhkQxvGcK2MJ3nj a+Qg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Y1DxZjec; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170579-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170579-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jz15-20020a0562140e6f00b006a0caef6db3si10814572qvb.525.2024.05.06.19.17.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 19:17:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170579-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=@gmail.com header.s=20230601 header.b=Y1DxZjec; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170579-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170579-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 136551C2192F for ; Tue, 7 May 2024 02:17:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A1334C94; Tue, 7 May 2024 02:17:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Y1DxZjec" Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5704E3FE4; Tue, 7 May 2024 02:17:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715048252; cv=none; b=KAprYBjtlzb7DlO+LMA6Fdr2MSp84N2Sngh7SRj01oGlQEbGH1nNppXBQCPGnZ4ObUnB3h0g1BOU1uPQmi10LQrTtxzuZV6fJhvJnLYx86y82UxyhO9szDZSrEUCHxVe6Fjv0fdEdFRZ2V77/TfxhzKCsLVsCVbU4X5Q2ZhGFCM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715048252; c=relaxed/simple; bh=UUOmFdnRVJMaKlg6BOtDUP/jT90R3y3FTFKZx3K8Hu4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=AxEtYg+WlCVFG8rrhfmQGxx4eHMyVtMFhZC7La0MYq582wNZi5UiRj2f5qZlY86Xgs9ROAcqYrVjGEWibsfBS3VxhH+c9Rq87Gt47xkqlEN73Aj9Efga8ZUKJC+kCGOPULs/ujQRDV8napupGgCAtpRe2uHF49miw6EIO3GRK98= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Y1DxZjec; arc=none smtp.client-ip=209.85.215.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-5c229dabbb6so1601198a12.0; Mon, 06 May 2024 19:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715048251; x=1715653051; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=WNlF+4aE7JvU4ewsWDtXETsCJ1djlC6/3VF67xnJzas=; b=Y1DxZjecD8BBd6ATvsVpEQeLn+Oy3Y7AOMLk93LlgdXOZ9no8D3VFRMlGeIx8loVUq KW4bt/cGWUYLNZoKmjGjTRhEx2z32g3VUvq9R5H22huMEp5On8O9IAHvdB1MfvZfQ3n5 9CapgR5k+0/MlBhzM/Xgut6UQJh+hlHe5mDNShuArlEhPgVrUDL2DIdLqF/txoFfA40M dMMVprNWMWwTqTxQDZ7gKv88HjoKBfB62QiHlRQeXdwpIzKqd1BHsjbtyMeSjW/mQMlV NK4FMBqj8IY4xx8E3YCqlALov6+LC578Gt8kG0V6a6IU2HDb0I7k/ivgD6ZrZDATegKG UT0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715048251; x=1715653051; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WNlF+4aE7JvU4ewsWDtXETsCJ1djlC6/3VF67xnJzas=; b=IOVNz84ytRq8KcHvIQJviMtLFCDFOtPrB6gWpvcx0h3oZIMylIEgerunkGejoP3Prn eBPtcf8yRvSl98R6t5YQfYw29QB0m4ycfKGln2JtgBpcsxU9V9n5szai6xYttL4Iac17 BW0mb0cgchUi15YLT8eOzr9Oik3dPdL0rZOHZgnp3Dn1OGpw3fJyIdH3LfOncP3xCUCR TSlJW04qQDHw5DKrvByxGhRvL8A00tqfRA4gevTAAfd0/9RyM3cPBlyqJPLOzYV5KQmM WfcpmLu6ur/zNwoiEqeEFclAHHhy6VHFVSEwFwkayIQyxJJvZazCv58/eS4j+VZrlhLP rztA== X-Forwarded-Encrypted: i=1; AJvYcCVqi7fGtwuctTfrXEyV6EDNFkeJXI1seHaBurKeKW4GfyUBWsz3K9/735b3PIk6u2VmvKjDz8GBHrH0nbtrdqaWoc6dgjETS/VaQ57I X-Gm-Message-State: AOJu0YwgF3Ug8pNZeQ/n0UZ1vIgm0IAKPlbjq35OXUMfCu6GmxxgRxnB cuw6S5xRKuwPgYak+TOLjpvg679avtfS6rMEF2J8Gukh2xK8KxcF X-Received: by 2002:a05:6a21:168c:b0:1af:b89b:a7f5 with SMTP id np12-20020a056a21168c00b001afb89ba7f5mr3244914pzb.24.1715048250554; Mon, 06 May 2024 19:17:30 -0700 (PDT) Received: from localhost.localdomain ([205.204.117.126]) by smtp.gmail.com with ESMTPSA id u4-20020a056a00124400b006f3ea8a57edsm8357311pfi.133.2024.05.06.19.17.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 19:17:30 -0700 (PDT) From: zhangwarden@gmail.com To: jpoimboe@kernel.org, mbenes@suse.cz, jikos@kernel.org, pmladek@suse.com, joe.lawrence@redhat.com Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Wardenjohn Subject: [PATCH 0/1] *** Replace KLP_* to KLP_TRANSITION_* *** Date: Tue, 7 May 2024 10:17:13 +0800 Message-Id: <20240507021714.29689-1-zhangwarden@gmail.com> X-Mailer: git-send-email 2.37.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Wardenjohn As the previous described, renaming variables is not a good idead becase it will break userspace. This patch rename macros of KLP_* to KLP_TRANSITION_* to fix the confusing description of the klp transition state. With this marcos renamed, comments are not necessary at this point. Wardenjohn (1): livepatch: Rename KLP_* to KLP_TRANSITION_* include/linux/livepatch.h | 6 ++-- init/init_task.c | 2 +- kernel/livepatch/core.c | 5 ++-- kernel/livepatch/patch.c | 4 +-- kernel/livepatch/transition.c | 54 +++++++++++++++++------------------ 5 files changed, 36 insertions(+), 35 deletions(-) -- 2.37.3