From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D82481B5832 for ; Thu, 29 Aug 2024 18:41:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.22 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724956875; cv=none; b=jXm+O4DdseznJxDoBfDwAyrAilEcpm9OSEDh/7RMtNOpjIFHfMQr3J0w7dQfBp6dAYdQfhXxShsCsHtCXxUJuybgLvQvWbf4RvyZ20QqhWa+AqmItAp0E3lr42eLrpNt6VROu46AApstioNhR/SgPeXpPmt2ZDLE7qLhiY2Ty9Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724956875; c=relaxed/simple; bh=y3CKx9yPAClsfMxRC+2fQN6G4AoThcuox7GNcLSnyH0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ihZ81uZBZqoCOxxpZ1+GZZWDHWhXaiuuHck0mODpDxc9PHTrU6hjqeUv3HQ6x4/4+KagK2VYhupSikSUUPec2UhFXd1tNIMNSCejmXKt/9ns97Rv6a1prlRoD6bqywEeEjmuoBMJ6hW9d6WAIGLQhBjAdqIAyq9yImV2HfqwFuA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me; spf=pass smtp.mailfrom=proton.me; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b=hAJNVeDC; arc=none smtp.client-ip=185.70.43.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proton.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b="hAJNVeDC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1724956870; x=1725216070; bh=DK8G/oV0NQnHR6ELSMxXz1prgv5XgJZSEeMYPgII70Q=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=hAJNVeDCD2Ibocs524Es1RBzLtEu6p/DFCxnmWQVebyrqlyqvTC/wArdcakGsd3Wj 2v6n6SNW2+JHKjZIjbzYpgT0ps6+BjXRIthfF9lCwC9yNuRlOLoZDMqvrnQ851oiC5 /umMKZjamxVlxhm6Rk8QGrjk2W2suooALsK6KhtgEbC7Eq1928cWiVE/1FmR1N9YLf b6N9vEXBzGyQL6OAZdrAQpskKpFg4hF8Iuxnm5YaVXzHB0I+O9S1lvQw0OLcmYqGPY N99qaUvtT3BleZTXcXVg0Kxuw/koc46IUNjTwPS8AFXRFg18WPu2KgfI+V3Jsu/GLa 9TAGXfqtXZDFw== Date: Thu, 29 Aug 2024 18:41:05 +0000 To: Danilo Krummrich , ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, a.hindborg@samsung.com, aliceryhl@google.com, akpm@linux-foundation.org From: Benno Lossin 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 Subject: Re: [PATCH v6 16/26] rust: treewide: switch to the kernel `Vec` type Message-ID: In-Reply-To: <20240816001216.26575-17-dakr@kernel.org> References: <20240816001216.26575-1-dakr@kernel.org> <20240816001216.26575-17-dakr@kernel.org> Feedback-ID: 71780778:user:proton X-Pm-Message-ID: 9ad2676be0af3915e5f3da50ea6a3fbfab4633de Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 16.08.24 02:10, Danilo Krummrich wrote: > Now that we got the kernel `Vec` in place, convert all existing `Vec` > users to make use of it. >=20 > Reviewed-by: Alice Ryhl > Signed-off-by: Danilo Krummrich Reviewed-by: Benno Lossin --- Cheers, Benno > --- > rust/kernel/str.rs | 12 +++++------- > rust/kernel/sync/locked_by.rs | 2 +- > rust/kernel/types.rs | 2 +- > rust/kernel/uaccess.rs | 17 +++++++---------- > rust/macros/lib.rs | 6 +++--- > samples/rust/rust_minimal.rs | 4 ++-- > 6 files changed, 19 insertions(+), 24 deletions(-)