Message ID | 20240816001216.26575-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 740B1C52D7F for <linux-mm@archiver.kernel.org>; Fri, 16 Aug 2024 00:14:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DABC58D0022; Thu, 15 Aug 2024 20:14:06 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D5B438D0002; Thu, 15 Aug 2024 20:14:06 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BADDD8D0022; Thu, 15 Aug 2024 20:14:06 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 9AD5C8D0002 for <linux-mm@kvack.org>; Thu, 15 Aug 2024 20:14:06 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 50DE21C429D for <linux-mm@kvack.org>; Fri, 16 Aug 2024 00:14:06 +0000 (UTC) X-FDA: 82456186092.28.F596EED Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf24.hostedemail.com (Postfix) with ESMTP id 3C05A180011 for <linux-mm@kvack.org>; Fri, 16 Aug 2024 00:14:03 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=GBDdyls+; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf24.hostedemail.com: domain of dakr@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=dakr@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1723767231; a=rsa-sha256; cv=none; b=nTEYvwkuj4jRuAN3OFxceusLmApxBz6o97oZ2lTH+oIyxpjGbuCujuPkwC1IyByWfFVU/7 fkLTU2glAPNTJuwL9IKkI31IQCErU6reOFQZ0axsMpVk9zkOmDoGv2NYQixodbK20vIKaO 5uOCN1RywYDgPv8UjO4AaB9ixx3pcjs= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=GBDdyls+; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf24.hostedemail.com: domain of dakr@kernel.org designates 145.40.73.55 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=1723767231; 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=u+VoiLFAetgzpXhJGAFpXoxUqUSb5c896RWORtIY3q4=; b=rQbpP3T9l2AmuHHzT1G+XTYyAlzNujzwVdyR42C9VrtGSI4uSKsGM6Q6ccYmxR5iATNpOk KtsjiG9Y7d9Hk9Sk3+EAMxl7Mv9nM3I1RPO79MP5agV3FEUPASVU1n1zBwH/r1n25jzbYF jrjT2Q+vAez2AQsFLVCW4rf7ZIljLRI= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 7CF1ACE1DAC; Fri, 16 Aug 2024 00:14:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D66C5C4AF09; Fri, 16 Aug 2024 00:13:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723767240; bh=LpXBgctNj+tjXHis1qyn9ZWQx0pllgQA+Wvf8FmkV/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GBDdyls+Jd6wNrwqtFAQcJe7OWuWdRUR96D1OaBuBLszf+b8nx5uFxqZCC7OHJ6S0 K5OF5QRMmIHCzD5MO3IZWfIfCnuBkCn/kvF3Xgwb5pPC33irhCPNQsYMZdfYvR7j5q CdiQTBsJyfR3D20Ck/lN7opv7mZ3Y6xlcAR6izoua4HN6xkQMdpDoFFNARJ2iy1UdY pLSOJM1qqSk52E/4NJ4+9xTEafjOidA3suCELiyV2uX7INt8MueM6Xgqx2QcYIEGH6 icUps7nSIKG/MiYfHKGFCwZsbHxjmFkSQbBaRctQzxgUTKCvV/Lt21vXa1JdD/hpHd DtEcWeKOOACjQ== 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 v6 18/26] rust: alloc: add `Vec` to prelude Date: Fri, 16 Aug 2024 02:11:00 +0200 Message-ID: <20240816001216.26575-19-dakr@kernel.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240816001216.26575-1-dakr@kernel.org> References: <20240816001216.26575-1-dakr@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Queue-Id: 3C05A180011 X-Rspamd-Server: rspam01 X-Stat-Signature: xryfa73yadp6fap4o1xm8jtpourhxjrp X-HE-Tag: 1723767243-937775 X-HE-Meta: U2FsdGVkX19zypHLeVtYzrHgrufWi4WdpusnOaCiYlJx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O82WYjwvBWMXG771has/DVVbCiEb5w/q3tX2fmMzvtaWNkGLtmHEU1TJ9mJXEPp/v1fJHSQ3PvM32r43PwHz36RIr2Zwk2tGthSPsPsyOo7PXkQbRD260b4f2NVT1ZHlo9hn9aBFZPlzM3Zu1E4kSJOi7t1uJQv7B0YlmeRJFA6XyyIRMeaFsqlqE29WQosyp4= 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 07daccf6ca8e..8bdab9aa0d16 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};