Message ID | 20240805152004.5039-13-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 3A598C3DA4A for <linux-mm@archiver.kernel.org>; Mon, 5 Aug 2024 15:21:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C5B806B00A5; Mon, 5 Aug 2024 11:21:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C0B846B00A6; Mon, 5 Aug 2024 11:21:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AD3346B00A7; Mon, 5 Aug 2024 11:21:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 905A16B00A5 for <linux-mm@kvack.org>; Mon, 5 Aug 2024 11:21:26 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 499758023C for <linux-mm@kvack.org>; Mon, 5 Aug 2024 15:21:26 +0000 (UTC) X-FDA: 82418555772.19.F7F9C0B Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf12.hostedemail.com (Postfix) with ESMTP id 30A3240015 for <linux-mm@kvack.org>; Mon, 5 Aug 2024 15:21:23 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=FbMFBnAD; spf=pass (imf12.hostedemail.com: domain of dakr@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=dakr@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722871223; 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=eSROlH6ud/u1I95k9zcD/1iG5rIyFEPERrmcTVWEd4s=; b=t5N5XxFC4wKnYpB5sq3/WIdRCilWAGSPjDkVmS79OVOvzig4mdJ+uHkwfRnAKHKF8jKstB GnRCHR+7W2JeWzmluLE2S6qxfekqpMX7du6vw+o8UfWbqdUQm1fno2hXpitFNnqMuZO2JD XLsD7CnfFthR6KuYeINhaUjTprugd6Y= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722871223; a=rsa-sha256; cv=none; b=GJjCrXQpRO2ZsNGl2XE4z047TqqVBUErIlo9XWTe0W47WKEOIGtIeV/UuPIVchVTNqJzFn uJOkTHyZg/HkG3Ki+ndjlA4epQ+1d9V0q41+REV0+nlVbomCMrI8+YHa0gRbqDzKpjjKjZ n5jjPfIRAXDA2L2tcQeIuoRzHCXBeKU= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=FbMFBnAD; spf=pass (imf12.hostedemail.com: domain of dakr@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=dakr@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id E4039CE0B2C; Mon, 5 Aug 2024 15:21:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BAE4C4AF0E; Mon, 5 Aug 2024 15:21:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722871280; bh=Z6ThON8OGnmMolEbvMDlA1wqJrU2Ykqt5/dZHEIEb08=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FbMFBnAD+ONdyGOCxHDO68tIE5VH0ljFw7qk6sCE9LKSrEA9wwnt9OIhcQRVytJey UkxpPeVw0PTJpMDao+P/27nZDKGuWL5G1UOMe1vxrWCZFO5GYBJLtb5Jb/IGJu0iP2 b6ROc0rutdvuGbgr3jbmz2vlcc1+Ast709UwwCvlgC2BCs1dNiaFTyVHl/v3ViRxfT R7Wzps/B4vwrPUcspPvb1M3ze8H32abAV3r8+mHhsT2GuJ2MVXLrkcpXgEGIRZjKb2 f3b1nXbEbbNUpBurUduGALmQ/3efASeaPucqbUSzzSpWmBigo9rJ9fY5VCA2pvpoWJ QQsKOCQ12WosQ== 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, acurrid@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 v4 12/28] rust: alloc: add `Box` to prelude Date: Mon, 5 Aug 2024 17:19:31 +0200 Message-ID: <20240805152004.5039-13-dakr@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240805152004.5039-1-dakr@kernel.org> References: <20240805152004.5039-1-dakr@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 30A3240015 X-Stat-Signature: xr386pegqa3c6me4bs5tiqn3cc5b9tpy X-HE-Tag: 1722871283-276462 X-HE-Meta: U2FsdGVkX1/EsnmvUvFxgxQVAgfOUT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vEuRWQ4O/FkeJVw2HeRf4yUoryb1FDM8y/mgGc14GGZRZAulAGNdmdFARKU/u62Kz77phXA+yHkyOAkFi5AJ8mq0oVkHJwRuI3Jen1SgfHbvZ5MkNbb+IjO3xhM2fanEvvAnHq7KK7ai4HUYHieHYlmAPVNpi0dGOQXHwQ5nsXSpil2eAuOlbGoK6OlKEkkVDpR84/PtlBE6yiAycJMukiIZqQn5neUIFVvco= 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/prelude.rs b/rust/kernel/prelude.rs index a8018ef2e691..6bf77577eae7 100644 --- a/rust/kernel/prelude.rs +++ b/rust/kernel/prelude.rs @@ -14,7 +14,7 @@ #[doc(no_inline)] pub use core::pin::Pin; -pub use crate::alloc::{flags::*, vec_ext::VecExt, KBox, KVBox, VBox}; +pub use crate::alloc::{flags::*, vec_ext::VecExt, Box, KBox, KVBox, VBox}; #[doc(no_inline)] pub use alloc::vec::Vec;