From patchwork Tue Oct 1 15:00:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danilo Krummrich X-Patchwork-Id: 13818246 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 16332CEACD5 for ; Tue, 1 Oct 2024 15:02:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9DC6D68001E; Tue, 1 Oct 2024 11:02:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 98C5F280068; Tue, 1 Oct 2024 11:02:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 82D5168001E; Tue, 1 Oct 2024 11:02:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 592D6280068 for ; Tue, 1 Oct 2024 11:02:45 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 14D601A15D4 for ; Tue, 1 Oct 2024 15:02:45 +0000 (UTC) X-FDA: 82625350290.09.0BBFDA9 Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf25.hostedemail.com (Postfix) with ESMTP id 46B6FA000B for ; Tue, 1 Oct 2024 15:02:43 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=RiY4Oaov; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf25.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=1727794924; a=rsa-sha256; cv=none; b=EDgFXqsEauRFQ7myQ74CzpwZ3iGlAm+Rs+uqyMtztvlUVgjq4PiYbxGOjmVPbgw79WYn/V zVVCMqpPdYW67eMAwkp/ksnjrvPmxhJAoYUC9pmn4ylLLOPn9PGlHFNELF0dmtGz9kGbzk UPFQit6XQhT5WUoNzPiRN6WPq/qSLu0= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=RiY4Oaov; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf25.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=1727794924; 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=ScRiuRMdN3vqiTKkx76BBdL4gnyjqGdSATxw/oGR6TxDE/Iix6VjlOWryoOAGFRzOOOZIu Na6xnnBPHsFDgOMvAD9xpMOFrx/TwIZ+q4li7IFSkjvSQ5p71m6+OCNBcdQp0rXYeHll67 RJku82SkYuMKsGtV7Yw/rDHXWeFvxho= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 670E5A40104; Tue, 1 Oct 2024 15:02:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 797E0C4CED2; Tue, 1 Oct 2024 15:02:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1727794962; bh=GR6bCjuYYHRgHCOsPDduyYPPq8CvkGfa1JPMMj7rInU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RiY4OaovolUIHId/CXZBG0mQjFVvQQSFisqfSuxUkQ+pN72OVWhKoCUGsyYc7eWjQ fMjOsCDz64SUKC49XOzYlAlqlaq9i60haj+28VfMnRZFE3pLjRL//NlfzaO+QrnpE5 2JYP7EWnlBFn2jIJQ4PCXxFlGGFUIJT8zckMtKty5wH/Tcyk0LqzclUt4j1O7DRN3p oGGPbiWCWdVFXIuo06u9dWeBTqlNeEjkfyzmGEtAZv/JFP6S0zufuKo/KAj7O85ZjL j+j0srmtkCgDk/w+wE9D+/lP4XJN2dMBCqPF0lSjHZ9FEku65xjRhMeIatGqPuXP0r 6YQ5YuzdJwIvg== 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 v8 27/29] rust: alloc: update module comment of alloc.rs Date: Tue, 1 Oct 2024 17:00:02 +0200 Message-ID: <20241001150008.183102-28-dakr@kernel.org> X-Mailer: git-send-email 2.46.1 In-Reply-To: <20241001150008.183102-1-dakr@kernel.org> References: <20241001150008.183102-1-dakr@kernel.org> MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Queue-Id: 46B6FA000B X-Rspamd-Server: rspam01 X-Stat-Signature: giixtb6as3qrxj8ksob1io3n4wwig7e9 X-HE-Tag: 1727794963-431158 X-HE-Meta: U2FsdGVkX1+c4KuqgKDsj40jZzDaXS01KKuGT6bAAbUkHo97/qvGMvHdkBxxjfkk47EjSdaPCNTFPRD62Qq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ItzcFS8LB7BL9YzgmleBhgqO6I52jMkXW5xQd9scLPLlZH1vavr/wnZghxD0A1e1gRWbLSgge0J6Y5v3aeQzX4MjCYVige15k3EJxCAjRuz6Vgg3TKQcCEyQt30j2wtgcoDsmYf8WVd+ZNiYe0YK3TSSjPGLGnAL+Gcz7t0mkQgNqCR4NdCf2dvyhM2nIe8HoFnPELLLeDiFfXpvdwxGMGngq2yJAVGrURu5VUyr+fQ+P69UzCdjU0ChSOjGjG 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;