From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.197 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795477172; b=BMVmCNWMbMzZTppQGjdRqXQdZWkNAmo9JodqW2Y8mG11u8A1VDa0YzW/Zuicc6Fcu9JU aZ1u61U1Y43C3QyhLdVKE4iiK/ExkPRvC83u2+EhFT7HjpgbEyH+tBIPpXZqnxtDWJWk5 HioYlo47cNZTifWZk99ug6uskDzaTFAIEY98KPWmL8xWRyJh0jVrbo7dFTJh0M84dyB1V B2n4ro7CIlhXT4CtZcNS/DNITYFOoH9qkbkEucmZ7Ul3mtoFC+lAwn1pSc30eXjy05eE2 w5E3UGr3QwherrWigjqQ0Zjc9uY7bghg/Gl2m9vbZCGMMAj7ejOrn6GETYjqNy/nVZQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795477172; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type; bh=NNY7sb7Lc3fUr2Yc/4c0jbyfUC5yRtKrBOqqupJLhM4=; b=A7kiDT95PMEIaa+SLzhjWqWB2IaqIB+OaShgWkr+nLMneBcOkc1em5DvFuQ46EWCnk3V b3y0zxDH8ezXsyjc8juhmdR7r7pN5JF5ujlrrb57s29duTG0aTNLmWt3rCWeCIiyN5PQt QTFEUttJhknbqO7+EuuXUs23CtwUUxi23DdqincZEUlCwSWNsEXkott8lW+vMMiRZ28oM QCOh0cam7+t1fRo/3fk1PjrQK9+VNPHe+muWNUKZB/NnrGugG1tKrjNL+YDhGEt5O1zC7 Mwj7aG7tfs2Vbj6L50tzc7OWQXdd5LhD4u8Q+l0T3f3rGISixNi3nJgIWGZuONeyGlw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=Nl5Sf5CJ; arc=none smtp.remote-ip=209.85.167.197 Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C46F3606A333 for ; Mon, 23 Nov 2026 23:39:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C46F3606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=Nl5Sf5CJ Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-4a41f46d629so5746404b6e.3 for ; Mon, 23 Nov 2026 15:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1795477171; x=1796081971; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=NNY7sb7Lc3fUr2Yc/4c0jbyfUC5yRtKrBOqqupJLhM4=; b=Nl5Sf5CJkUm3W9+jcd7iU6B9Cs+k4BUqPo8Wy8+bdX5qmWn6w6hnUYpzOWkGkpqu03 iy4AI3elPN7Q93LX2/SdhiXUpzt7B+LSiLuFL7xGN0OYIuws+2K5qAUvIi7xOe5i58YY 1hOiYCX5Tb5ghmTPkQ1PGBTmHdM6SU60uxVtr45Ol7tonZ/g5eyts6S2qm/W+8I2mkyj 9fxXTrijZyy6nRC9f3MnGormjsekuNctZe2jU5kXqr+MitAmFcIgnNS25ow0vbcwep08 TnWtcpCuGa9PEYsywjWSoCbEstgQCoozUXC5P7WLRx5tRH1DYqc+1OCn+6UUvJzKAHcH PurQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795477171; x=1796081971; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=NNY7sb7Lc3fUr2Yc/4c0jbyfUC5yRtKrBOqqupJLhM4=; b=aACZVt0+kfT5DUN21J3fa6pYINe/5XJbbvHVjeiPhQeAQqMeGzX5mZ06O6iZ0ahgUt GdIFyEWstXnsgAWYv2XwzTFq9A75Z8UYeSwtHUpCYiF13mkjsyK6QuPL7uosJAlrVJtF v58eRwqvTGxmn1blDUbSm9wp52aG/BQkXj5THg7KEwSdeLL1QgGaY2iAwh8XELE9MXtK i4R7Y5oRtZ7HD+MAXsRz+EU6RI6m5yvV5/S2GwgBY2LpedL1PApSc0z09ZM+2RUwVxSx D7Q2P4hlCCYR1gDMkRZN1HQaFnOmxap2xNNAbt9wYSi051OULeMcXNCxdODJ2FGp0hwK GYCQ== X-Forwarded-Encrypted: i=1; AL+hErFVORMqwcvUbAxvP8FCfWBzyLa3mK9jFeVvGUD3TjmSo/pXk7qBaudks1h86Lvend7SC2NTxzZpn+TRDK0=@vger.kernel.org X-Gm-Message-State: APuU4Z+iICxNcPJDHiENYlx14LEIYdvBp+wr0W4Gs1u+bxuUNjip/oJw YCDJrby6NQwj8uJL5O/10iukUDThdFhUl7eUXD8ySMUFYtUmi0JrNeQr5UYxzp/NS8kCZS3/+LZ bOF9UAkNUByvVuw== X-Received: from iobdo25.prod.google.com ([2002:a05:6602:4619:b0:9ca:bcca:dd8b]) (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6808:6615:b0:573:1dfa:f0cf with SMTP id 5614622812f47-57a0a404865mr13656920b6e.51.1795477170400; Mon, 23 Nov 2026 15:39:30 -0800 (PST) Date: Mon, 23 Nov 2026 23:39:06 +0000 In-Reply-To: <20261123233924.3970932-1-dmatlack@google.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261123233924.3970932-1-dmatlack@google.com> X-Mailer: git-send-email 2.56.1.809.ga0b61035b5-goog Message-ID: <20261123233924.3970932-2-dmatlack@google.com> Subject: [PATCH v5 01/18] liveupdate: Remove the list of steps from luo_preserve_file()'s comment From: David Matlack To: kexec@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org Cc: Alexander Graf , Andrew Morton , Baolin Wang , Christian Brauner , David Hildenbrand , Hugh Dickins , Jonathan Corbet , "Liam R. Howlett" , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Pasha Tatashin , Pratyush Yadav , Randy Dunlap , Samiullah Khawaja , Shuah Khan , Suren Baghdasaryan , Vlastimil Babka , David Matlack Content-Type: text/plain; charset="UTF-8" Remove the numbered list of steps from the kernel-doc comment of luo_preserve_file(), along with the sentence that introduces it, which repeats the first sentence of the previous paragraph. The list only restates what the code does, and goes stale whenever the code changes. Suggested-by: Pratyush Yadav (Google) Signed-off-by: David Matlack Reviewed-by: Pratyush Yadav (Google) --- kernel/liveupdate/luo_file.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/kernel/liveupdate/luo_file.c b/kernel/liveupdate/luo_file.c index a39992da504f..a42b60356d52 100644 --- a/kernel/liveupdate/luo_file.c +++ b/kernel/liveupdate/luo_file.c @@ -214,18 +214,6 @@ static bool luo_token_is_used(struct luo_file_set *file_set, u64 token) * unpreserved or successfully finished in the next kernel, preventing the file * from being prematurely destroyed. * - * This function orchestrates the first phase of preserving a file. It performs - * the following steps: - * - * 1. Validates that the @token is not already in use within the file_set. - * 2. Ensures the file_set's memory for files serialization is allocated - * (allocates if needed). - * 3. Iterates through registered handlers, calling can_preserve() to find one - * compatible with the given @fd. - * 4. Calls the handler's .preserve() operation, which saves the file's state - * and returns an opaque private data handle. - * 5. Adds the new instance to the file_set's internal list. - * * On success, LUO takes a reference to the 'struct file' and considers it * under its management until it is unpreserved or finished. * -- 2.56.1.809.ga0b61035b5-goog