Message ID | 20240812182355.11641-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 CA776C3DA7F for <linux-mm@archiver.kernel.org>; Mon, 12 Aug 2024 18:25:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5D5E66B00B8; Mon, 12 Aug 2024 14:25:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5867F6B00B9; Mon, 12 Aug 2024 14:25:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 427656B00BA; Mon, 12 Aug 2024 14:25:16 -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 2299B6B00B8 for <linux-mm@kvack.org>; Mon, 12 Aug 2024 14:25:16 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id C6233160324 for <linux-mm@kvack.org>; Mon, 12 Aug 2024 18:25:15 +0000 (UTC) X-FDA: 82444420590.18.A8FE690 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf24.hostedemail.com (Postfix) with ESMTP id 28770180021 for <linux-mm@kvack.org>; Mon, 12 Aug 2024 18:25:13 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=tv5GuWoQ; spf=pass (imf24.hostedemail.com: domain of dakr@kernel.org designates 139.178.84.217 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=1723487079; 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=VlnLEaIxQWg4kfUlEJYGycSUsX+NAMgK+4UAKvGqx2Y=; b=lO9T68FbQUtd5i9UM0duj1qrdDz03J8UhYR7xYb/vV5rhsVOp6HKaCw5pDOd5UV7vNR1Z7 PNwnP9PxcYRCh6i5bGB1DGtSzzj30Bu+r6YQ2uO4ciIyHyaCTXP4lmIQ2lOCKEDwsUJczy bzBVgDr7kBv9D+14GgnC4GUOw0V/FHc= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=tv5GuWoQ; spf=pass (imf24.hostedemail.com: domain of dakr@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=dakr@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1723487079; a=rsa-sha256; cv=none; b=jExsTMy8z78cxtmiShgkegLhtnw0pDuEqzTUvgZvLzXAi7dw/TeXhEoFWNTPX7wVEHZ5VN A9DwvO2EFVQf4halGVZjYcQScOOIcgUDLBLEGfdzVHhIzSUkScn3l4vw7i4Jzn9Tia4SRN 1CkNdXAW5hUSkIaM8twJaoLO3fmP61o= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 5F98161465; Mon, 12 Aug 2024 18:25:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32487C4AF0C; Mon, 12 Aug 2024 18:25:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723487113; bh=T1FuSmy3wKKtte/FIc8FwS4B4+fz3kPLj/bCRcKqMJQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tv5GuWoQlwKbMwwjnKoMTrb4grtNMZEHotZjBmBsuaqEFBKhwQNv9xRogc3nnqQRs UFvpo+qQd+H4kCiuXK/SFpJtltvWgWCrflqvvBmrHvwYPjQ5YbEESlchJbh5dm++Ra oUNwdkg/bK+xdupv706WHrQJ6X3GGbjgYMpoziDIO++aRAmCgDc2CLPZTscx0oP1Ik gPZ1Fs+Jkeof0ff6yyBebVf2aBekQ6Huvdx47F1yRvBr5FsMp2snsObG9loYWAnZw6 dNu8ugaSnnz4153ZUOesYJJ0F0WzRxPBqY4q/l+YODCVZJjjwG2mXaCAbomuWVgj+E MPJ+ew6WAqoxw== 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 v5 12/26] rust: alloc: add `Box` to prelude Date: Mon, 12 Aug 2024 20:22:58 +0200 Message-ID: <20240812182355.11641-13-dakr@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240812182355.11641-1-dakr@kernel.org> References: <20240812182355.11641-1-dakr@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 28770180021 X-Stat-Signature: jdfoysa64nsde4ru598oq6asc9knh5kk X-HE-Tag: 1723487113-736870 X-HE-Meta: U2FsdGVkX18VaKR9BHbC970Jrv/Zq7U2tNukGJX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617BK9diiBj4KQ9Rjt4uO/Vf1FYHH3G7L7bqEjX2tND7vtrqv6Y2rIMK6X5k/N+TOKnZZw4sZbPRv0GPBTgsanVOfdbK9Aur30UKHTfgHd2yXhG3U8tgX2lxfopPw3A54TXB2FIDJ0JBeQHTMLu9TSkXm4I2XBBkoDTljCMUuEr/EkJMz3PF1AegjeCYszs9iRPE9e6HIOFGlUG8mZI= 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;