Message ID | 20240812182355.11641-19-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 E82F8C52D7C for <linux-mm@archiver.kernel.org>; Mon, 12 Aug 2024 18:25:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7F9636B00C5; Mon, 12 Aug 2024 14:25:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 781EA6B00C6; Mon, 12 Aug 2024 14:25:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 623216B00C7; Mon, 12 Aug 2024 14:25:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 41E466B00C5 for <linux-mm@kvack.org>; Mon, 12 Aug 2024 14:25:51 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id DE7D4A0328 for <linux-mm@kvack.org>; Mon, 12 Aug 2024 18:25:50 +0000 (UTC) X-FDA: 82444422060.11.1838DF1 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf09.hostedemail.com (Postfix) with ESMTP id D67F2140029 for <linux-mm@kvack.org>; Mon, 12 Aug 2024 18:25:48 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Auu0ERRR; spf=pass (imf09.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=1723487080; 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=sT2eAl4+IxqSwmkPc/e/PoVlVcf+D4UkLX6oOA2Sql0=; b=tAlg8oSxCeYeh9KpXcoudzJ0NhNTxoILEYU/QOAuw6Z1SQPM/2Kw2ZAeAufhglxniBd+Rx zgwUtndoid2bhTp2equQP98B1y2i6llA41nH8aLV9Jmtse69CeOdM7vps9c0ENCalcRsKS 0HXaWM4eow1aqIjxqKwqSgcW2er6Xis= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1723487080; a=rsa-sha256; cv=none; b=fqF92+VXimkE6E07W0LYzISJfY6TStg1LYFGVCpaEdptoMXhsS7vvD9po6i2Hko0JkpBRZ z+LVnnbYtmNuYPxApQNH7D/6X1TFadymLCBbYUefbny6JVQ77L+QfZak5TKsZvq4x74LL+ ygC+A1kBgR5uO67SGNXjBwayyZJWf1k= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Auu0ERRR; spf=pass (imf09.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 65794CE1037; Mon, 12 Aug 2024 18:25:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1AB1C4AF14; Mon, 12 Aug 2024 18:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723487145; bh=vy8jMGyAXJW8mhTpujuxbveXx/4kmHcgFJLvoNpXzVk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Auu0ERRRl9iKXCUlp+SoDSPzRZnO6/enifkp7q/lRVDC359BYyHjhZIp3yRatrfYF S3ccNm4tHObneYmnWQKVsryy2upOOW8E8rI+fkP9NEOVwlxld6DMJnxx8AOeygcl7V +Q082Cm/kttOPG40J20BMGYsBqeouZsvblgAsois/QIOy/WXveFj3AhYFQAUHHobT3 r0SLJX91V7pQno0s86X7/UzrtBDTnvD9NZulQ9yqyVGlD2zoeGMT0kdTG8n6jaAgSd tUHgiQ3e1KWZAAPB7UbIyMgBTSCmkGb4iyYgxsFJDcR663RNTI3JqDxrNYQ4EznMO+ b5v0rZ4k+hpOg== 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 18/26] rust: alloc: add `Vec` to prelude Date: Mon, 12 Aug 2024 20:23:04 +0200 Message-ID: <20240812182355.11641-19-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-Queue-Id: D67F2140029 X-Stat-Signature: m5xm4fwrqqtu91z6sox79wq681kxi9ge X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1723487148-538208 X-HE-Meta: U2FsdGVkX1/Du5bKiK4TgCjlO+pbsjEOI5ol1dsMzbPy93yGjapFg/9aC/gRATT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GXUsv3XuuAs2/ihWhv99psq7AqoLfLX3/Uea9UpTl75HBNA2V9XOOs5Yye5LNofo4uK3cBe3je6HaABeoIe2QmI2o/KqalhbcqUxEOu94HTs5GcNQCaw//jt+9Zmdmq0rPRqi3cVo9gway+puop0ZjZeMqSwpcQ3g+oiw5twQMHrKESne0r+hMuGySGAHZAgEA= 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 fcc8656fdb51..b049ab96202e 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::*, Box, KBox, KVBox, KVVec, KVec, VBox, VVec}; +pub use crate::alloc::{flags::*, Box, KBox, KVBox, KVVec, KVec, VBox, VVec, Vec}; #[doc(no_inline)] pub use macros::{module, pin_data, pinned_drop, vtable, Zeroable};