From patchwork Fri Oct 4 15:41:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danilo Krummrich X-Patchwork-Id: 13822638 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC7B9CF884B for ; Fri, 4 Oct 2024 15:44:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4CC546B0293; Fri, 4 Oct 2024 11:44:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 453926B0296; Fri, 4 Oct 2024 11:44:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2CC6A6B0297; Fri, 4 Oct 2024 11:44:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 094836B0293 for ; Fri, 4 Oct 2024 11:44:37 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id B20FD121ABE for ; Fri, 4 Oct 2024 15:44:36 +0000 (UTC) X-FDA: 82636342152.12.5847E75 Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf08.hostedemail.com (Postfix) with ESMTP id 2DC8A160014 for ; Fri, 4 Oct 2024 15:44:34 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=HInwzaMg; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf08.hostedemail.com: domain of dakr@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=dakr@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1728056652; a=rsa-sha256; cv=none; b=ugkugUHuLz2ePUjtkgjFWDswRFNu9wseDUMNq7/J79fw5Ly2NpiAFJo0HoXsHprFolnqgv yT8IIF4LmRAXKdgQGz6WhHZH66vjMjYjFB2pI+dCVEf1sWX1lIruAxP+UqpxgRKPLf97ZY RGa/DaFfNUfE6qTc9Pr/5wZGEJikXvM= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=HInwzaMg; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf08.hostedemail.com: domain of dakr@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=dakr@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1728056652; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=JfRFCry7Fv1TL6pLtnF0DeZFoojQ37yEliOD1ikMPAI=; b=e65sXPSzs/wExdsiWFWrUuB0l/sZUA+mSfY3vuDEqmPyA6xm2juHWRnUJR5L+yFDtrSByD HMr0vchBRv+8Zy60Pz0H/Z8J1hhBk3w+wfCM8Zp+swoeWpccyvBiWC19zx2juU+4zUdp5Y 4UbnUsitNfPeZGSU3Ml7DHp2pGLfQ6U= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 04C0FA44B76; Fri, 4 Oct 2024 15:44:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2632AC4CEC6; Fri, 4 Oct 2024 15:44:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728056674; bh=GR6bCjuYYHRgHCOsPDduyYPPq8CvkGfa1JPMMj7rInU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HInwzaMg4J2W7s1jrkgNdeeywo/XEmyb9ionzx1z7DF543TSyLE5cmftSnOF4QSj+ 6r9x5wDRez306psxF3BKCgCH96wCu1MU5YU4GygFh36+FmUef6U8xv+b9V0tcKM7Eu OUpq6xZDzJz63Jili2hXOHV1eiGiWCy/G/aL4dTfnTmhn+Dcjx0ERts9kBPhDSQhNK pOC1l7WQ3f1YFq6tblCtZQi82nJa3DCrdQDfXLlgx3MwcwdIbtfOJbyNYnGoNXnyKp MGU5BspVs3/hpEf7o65ljYnzndSi7AIqY86E00RcksQQPufiCG9hhsJPdrbelIAMOA EWy2hs58e3Cyg== From: Danilo Krummrich To: ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, benno.lossin@proton.me, a.hindborg@samsung.com, aliceryhl@google.com, akpm@linux-foundation.org Cc: daniel.almeida@collabora.com, faith.ekstrand@collabora.com, boris.brezillon@collabora.com, lina@asahilina.net, mcanal@igalia.com, zhiw@nvidia.com, cjia@nvidia.com, jhubbard@nvidia.com, airlied@redhat.com, ajanulgu@redhat.com, lyude@redhat.com, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-mm@kvack.org, Danilo Krummrich Subject: [PATCH v9 27/29] rust: alloc: update module comment of alloc.rs Date: Fri, 4 Oct 2024 17:41:31 +0200 Message-ID: <20241004154149.93856-28-dakr@kernel.org> X-Mailer: git-send-email 2.46.1 In-Reply-To: <20241004154149.93856-1-dakr@kernel.org> References: <20241004154149.93856-1-dakr@kernel.org> MIME-Version: 1.0 X-Rspam-User: X-Stat-Signature: 7c9kx9x1ewfc4r8ep3gwzctd9zr4yktz X-Rspamd-Queue-Id: 2DC8A160014 X-Rspamd-Server: rspam02 X-HE-Tag: 1728056674-605274 X-HE-Meta: U2FsdGVkX19xorbhssknskdPeTm5cLU452cdJHjrpb4gLrLOHBrVCqFsKJvphE5dXC05304779cnoZl9n41RC3OtPN1zeqLd93px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HymZdVMBJDm5jCFqIkYUA3vVJlqe9W+qLmUzLhiZwoZNQQQErAbSwESXHlNGs6xZ6UQZLuspOj+PswXzJmO+DyxCiZE4Rj7bsA6iFxJ62yY/YigiRKi9zDw/mkc8JEVlwhR08Khve/nf6c29nfB+dk77rVwOwjxu/T6wTcX6CRgOeI4nH7P3D6ge0sSHpMVKmV3n4L+eWRoFcstK1L9WlTq0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Before we remove Rust's alloc crate, rewrite the module comment in alloc.rs to avoid a rustdoc warning. Besides that, the module comment in alloc.rs isn't correct anymore, we're no longer extending Rust's alloc crate. Reviewed-by: Alice Ryhl Reviewed-by: Benno Lossin Reviewed-by: Gary Guo Signed-off-by: Danilo Krummrich --- rust/kernel/alloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/kernel/alloc.rs b/rust/kernel/alloc.rs index 8acaa24a8f1f..b4e65454e695 100644 --- a/rust/kernel/alloc.rs +++ b/rust/kernel/alloc.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 -//! Extensions to the [`alloc`] crate. +//! Implementation of the kernel's memory allocation infrastructure. #[cfg(not(any(test, testlib)))] pub mod allocator;