Message ID | 20241001150008.183102-22-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 94100CEACDF for <linux-mm@archiver.kernel.org>; Tue, 1 Oct 2024 15:02:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E71DA680018; Tue, 1 Oct 2024 11:02:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E1FE9280068; Tue, 1 Oct 2024 11:02:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C73E9680018; Tue, 1 Oct 2024 11:02:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id A6371280068 for <linux-mm@kvack.org>; Tue, 1 Oct 2024 11:02:13 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 59C25120996 for <linux-mm@kvack.org>; Tue, 1 Oct 2024 15:02:13 +0000 (UTC) X-FDA: 82625348946.15.74BFC74 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf22.hostedemail.com (Postfix) with ESMTP id 8CBB7C0004 for <linux-mm@kvack.org>; Tue, 1 Oct 2024 15:02:11 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=LCAwFDG+; spf=pass (imf22.hostedemail.com: domain of dakr@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=dakr@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1727794892; 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=4Tl1whPfU/nWLhFKdIaDrQ4pPfk7cl2YbpR6IXgDySA=; b=ZK7bdFq7WjJaUGirZTSFvnV4qobJU7O5jGWWXIlPhx6jJFhbw5O0Uxb1ovV82hoZ5m8+jd 1E/4ak8PcGY02frI2TSolVJF9c0G7iDC2cZmtjN0xDN9Y6RdGX8vCQZ9+tKLtpUyHEz5k3 GEcw/sindE6tEeY64IgW0FLitPagg04= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=LCAwFDG+; spf=pass (imf22.hostedemail.com: domain of dakr@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=dakr@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727794892; a=rsa-sha256; cv=none; b=yOEjFn2w6SEWOvc+k6QveLeGtN6mNZ9y+l9FeDwIM2eyvggVgEa1A7EszAXD9CdwxAqkNn NHYWqu4XMoiy2yZc7RaeoNhLsdNqNLGjvyYQTxW+Zd8DQt5G2H+vhkZ3NE5AzKdlRZuHDi NXvIaSmpP7j/APQHg8IeJfVGfBXD/Dw= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 7AEF55C0114; Tue, 1 Oct 2024 15:02:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FD63C4CECF; Tue, 1 Oct 2024 15:02:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1727794930; bh=ZNs0Dj/ExXP/FTdJ3MujwXiT4/A3eVE5pzPxpi0CaOY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LCAwFDG+HwF0qdWHedel5sJSUl1FWW7tqFalfSm0hqMw2bBfmu3u+6V3cH4/C4WZL JErQKf4WUj+jDTKVznqwb+sqjnLwkieuky9Rn4ch1aRuadZcapj2Hg22Z70bLeP7Tx YnKWItxw5aNY4RPBSmXkPdzqjjylTr1uiedInV6Ef5uNg16UU2/Et3REwUtK4L+nuo wonyGbDahi8ZM+7wfIviQsGi1EraXFl6u5Y8izDxYSXfyywjf4tfLqv7kNlnZnMeZI NsfyJxEGNT0PmS0sXODuurgMvJ2lujEqDKrkeUyCW/F9lh/nP4wa+UTGtpaFX26aeC aD/Edjh/yuAWA== 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 v8 21/29] rust: alloc: add `Vec` to prelude Date: Tue, 1 Oct 2024 16:59:56 +0200 Message-ID: <20241001150008.183102-22-dakr@kernel.org> X-Mailer: git-send-email 2.46.1 In-Reply-To: <20241001150008.183102-1-dakr@kernel.org> References: <20241001150008.183102-1-dakr@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Stat-Signature: ia9u51ais3j1tm76aihpdm5r5n5qn4r3 X-Rspamd-Queue-Id: 8CBB7C0004 X-Rspamd-Server: rspam11 X-HE-Tag: 1727794931-528560 X-HE-Meta: U2FsdGVkX1+HBdDEN/M8cvfGo0D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IYEwkd2bcukXflb7OHdZ3ZFhzp9cnuDMXKHunlkBplt7dGKfXd8eDQWsHBN5H3wGwQ3r+xG1I8WH+6gan8Ia/POAobb3O0+oMnk4hP5Du537ztKWPoa4+U0qgixWGlcsjV9rgy6wF4EHLrXd0PBXw3QTy99iEyKXLATqiju6VrTm7bCvbHsKr0ua2x4658U9lBRWqtap2M1+hI2Q3f325Q6pDBZECHu7TdqZ9i6LW/RkKW+9+L2va92GF3TZjaJgWv3dyFlLsa4T 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};