Message ID | 20241004154149.93856-6-dakr@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 56ADFCF884B for <linux-mm@archiver.kernel.org>; Fri, 4 Oct 2024 15:42:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 983E66B0407; Fri, 4 Oct 2024 11:42:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 90D4D6B0408; Fri, 4 Oct 2024 11:42:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7D43F6B0409; Fri, 4 Oct 2024 11:42:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 659F56B0407 for <linux-mm@kvack.org>; Fri, 4 Oct 2024 11:42:35 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 20079417CA for <linux-mm@kvack.org>; Fri, 4 Oct 2024 15:42:35 +0000 (UTC) X-FDA: 82636337070.06.AB00993 Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf02.hostedemail.com (Postfix) with ESMTP id 8636B80012 for <linux-mm@kvack.org>; Fri, 4 Oct 2024 15:42:33 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=qhlqp3tx; spf=pass (imf02.hostedemail.com: domain of dakr@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=dakr@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1728056422; 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=6UnhpAH95JK0fnXZvtx86bZbvepH5HOY6OJin7RgYyI=; b=IUrYolMRGki9Fr4nv8HvcgNxutCS9xIDTDy6OnLnGyip2bOBFRT3QONcMu3uUs0YAOLBcy E0k6ICjcGu/Lh+aEL5Z0jm3odCpfNPZrpx5AQ+CQlFtvlmhl7777Jt/m/e9RFYZcZaasCt Jiy+BVm95FXNXIgsyvKqUqFITnpToJ4= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1728056422; a=rsa-sha256; cv=none; b=NYO6ByCAehM+IDdvUyOdiE08PxhfFgR0BqePTZnNn/RituxSHT/P7nsh6r0ZP0jAjpgk8C sqyQ07NL1qcA9mvDPAokgciFS/VY1iPaUuoRqXkWqsTo1S3xhjttBrXNadjH5oeULvQIqC Xh03lWf1xsivyqRaFBlOEwzq1BItJN8= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=qhlqp3tx; spf=pass (imf02.hostedemail.com: domain of dakr@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=dakr@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 89629A44BB9; Fri, 4 Oct 2024 15:42:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6BF7C4CECF; Fri, 4 Oct 2024 15:42:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728056552; bh=sxl4tea78ipgv1w2ubiPdzaMlUQIlFJyy3VgFb/Bypk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qhlqp3txx5UGYepN445qb5tXqTXeQZscm663Ynhm+Ohg5Gwb+YVM0+JFs4NeKJ7+e YjiwFn7VhR7EHqC7Rba9eJU72m5sfpDiClPFKuEm+e09je3P9p4gWDRrGa9vJFbgWY 4JO9Syp6zwKtSI6lK//JJIlOkI9bX0GO2xSl3SyP8QORp4kG4SPToZatXFUjixyfiz gbNXh9FypFs1rNE5Tii93wyf785+4u28rNKxnnLbYqF0858HQzd3VVzcRTg8eiZnmY 4BoNHc0U9uIVEI1K90JWeHeoSgUJIt8kC8liAXfbHmhM1ZUuPD2V80f/ZYse2X0Iiu vFzgR5K95nw2g== From: Danilo Krummrich <dakr@kernel.org> 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 <dakr@kernel.org> Subject: [PATCH v9 05/29] rust: alloc: make `allocator` module public Date: Fri, 4 Oct 2024 17:41:09 +0200 Message-ID: <20241004154149.93856-6-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 Content-Transfer-Encoding: 8bit X-Stat-Signature: jhiatfn7xwu59brpt6d8rqy8f5snnoar X-Rspamd-Queue-Id: 8636B80012 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1728056553-283000 X-HE-Meta: U2FsdGVkX18bVTmQsxSouny2ba/G2BZZHdWh+SLOTccGNtTpAFcRTf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f0nNU/wytruyU8I/Ei6Qs5aE0r6zoTDPxQ7PjJYhLk+2RQn0jirdoWRyGPHhCLZmk9llyDCMNQeWS7cJxtr/TDZrbEHjuANKxQbNXqliQHJfgxOJmEPqWPZVRF1yWkMlhFtiNPggjy8dAyMPZ4n5rDwtGlTOMrBwWLZYOoTD2LUmbK1TPXqKqgay6UWaJm9BOAUxRFYhdEaHMTDxkrWQIJdEveOUBvcNCVY3gJEeoT9DQS+PAU= 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Generic `Allocator` support for Rust
|
expand
|
diff --git a/rust/kernel/alloc.rs b/rust/kernel/alloc.rs index da49c5306431..91b2a26faf3d 100644 --- a/rust/kernel/alloc.rs +++ b/rust/kernel/alloc.rs @@ -4,7 +4,7 @@ #[cfg(not(test))] #[cfg(not(testlib))] -mod allocator; +pub mod allocator; pub mod box_ext; pub mod vec_ext;