Message ID | 20240801000641.1882-21-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 01BFCC3DA64 for <linux-mm@archiver.kernel.org>; Thu, 1 Aug 2024 00:08:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7C4CB6B00B8; Wed, 31 Jul 2024 20:08:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 772D66B00BA; Wed, 31 Jul 2024 20:08:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5C8CF6B00BB; Wed, 31 Jul 2024 20:08:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 3CA7C6B00B8 for <linux-mm@kvack.org>; Wed, 31 Jul 2024 20:08:45 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id F2FCA120878 for <linux-mm@kvack.org>; Thu, 1 Aug 2024 00:08:44 +0000 (UTC) X-FDA: 82401740568.01.13B42BB Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf06.hostedemail.com (Postfix) with ESMTP id 5D783180015 for <linux-mm@kvack.org>; Thu, 1 Aug 2024 00:08:43 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=dwGLMjQ5; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf06.hostedemail.com: domain of dakr@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=dakr@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722470881; a=rsa-sha256; cv=none; b=EAVZMFPzN70z3ZPRr/86aiYYbw4u7BSpyMlxRuw0gX2CYQB0AOvwAsCmjItrTlghV9qpae GDy5RIotm5iC0R5I3Mr5L01ajzUrJ8nKJjWE3xIFJbXZNP/2wAPcagk09o5benHZSYNJfk YraWJTeO59JVGn2OpPI9v9DqzNNkgl8= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=dwGLMjQ5; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf06.hostedemail.com: domain of dakr@kernel.org designates 139.178.84.217 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=1722470881; 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=V3RV8SQZBp3cdXNz8SMSCfTp6xtcwDI9ECD1In1etJo=; b=FIIXiivAkGBRGtceCwj7TZFua9LWm2JKDaefVKPpWZGTmOidAdOsz53vhyXU0C1PAC/KIu pUZtu4B6N22B49V7vyiroD8cEmuP45MozhoYz11tAEjpvbqfNdE5tIaKYTFASrfAyo9T3E 7+UE6Vc6jRXO9TfRZRNWO4ZJk+Y5UGs= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 941D36260D; Thu, 1 Aug 2024 00:08:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AE73C4AF0C; Thu, 1 Aug 2024 00:08:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722470922; bh=x0JvvRfi87BBCBI94b39MtnQOfc5sS9njBcl08nLwWQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dwGLMjQ5O1RqCMU95r74D1I+1i4C2i/6B4l3UPVvQRz/2DEFPmAhuDzrdF1g4mbXC IX4i4Cz1YT7NLKQ5R8xfrwTssfFtC+w0hi0LhTtf+IrUromujAPVnw1USOJeyPZ9Tg 6RhiksAY77LVOu5xR4LWDNL7eVQxbbbBeyD5vIA6h4xRjKkcIFkIUyOEQJf33PGUvu XZjNCF9isBwE2ZQ9c/bkdKTK0CNCsZUin43wkg7Twglu7+Pt1V2IzrWwJAwSxeRQSk rHAu9H10VJkPqd1VGowv3LuZPHigi9QyXCcMfZA8I3qcLVNHakZEWXiHPWuUnjqVNI mPdaApxLLfZSg== 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 v3 20/25] rust: alloc: add `Vec` to prelude Date: Thu, 1 Aug 2024 02:02:19 +0200 Message-ID: <20240801000641.1882-21-dakr@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240801000641.1882-1-dakr@kernel.org> References: <20240801000641.1882-1-dakr@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5D783180015 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: u8wjtghsp8kxryfpqs8rdxosemyarw9e X-HE-Tag: 1722470923-605048 X-HE-Meta: U2FsdGVkX19v3pxMhNGZw+Q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CJXevobjAG49QB3eCiGPIMlCmT++BgHyjiChLLk0AdOxkTlT4KQcMaGedjdV9cOn5GwxXFWN7GtNbMFQvR5qk1Zez34o5PJzDyQii+EkHmpgxZY447krmyCMAI4hN/qsbhhdyQ82HQHfKR+NMLn/D4rXaHJTIv+TsrZGiFO88CulZNRRORH33JEXPGvgcLXpSGs2Txw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000005, 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};
Now that we removed `VecExt` and the corresponding includes in prelude.rs, add the new kernel `Vec` type instead. Signed-off-by: Danilo Krummrich <dakr@kernel.org> --- rust/kernel/prelude.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)