lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241001192526.0cdf9dfb.gary@garyguo.net>
Date: Tue, 1 Oct 2024 19:25:26 +0100
From: Gary Guo <gary@...yguo.net>
To: Danilo Krummrich <dakr@...nel.org>
Cc: ojeda@...nel.org, alex.gaynor@...il.com, wedsonaf@...il.com,
 boqun.feng@...il.com, bjorn3_gh@...tonmail.com, benno.lossin@...ton.me,
 a.hindborg@...sung.com, aliceryhl@...gle.com, akpm@...ux-foundation.org,
 daniel.almeida@...labora.com, faith.ekstrand@...labora.com,
 boris.brezillon@...labora.com, lina@...hilina.net, mcanal@...lia.com,
 zhiw@...dia.com, cjia@...dia.com, jhubbard@...dia.com, airlied@...hat.com,
 ajanulgu@...hat.com, lyude@...hat.com, linux-kernel@...r.kernel.org,
 rust-for-linux@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH v8 04/29] rust: alloc: implement `ReallocFunc`

On Tue,  1 Oct 2024 16:59:39 +0200
Danilo Krummrich <dakr@...nel.org> wrote:

> `ReallocFunc` is an abstraction for the kernel's realloc derivates, such
> as `krealloc`, `vrealloc` and `kvrealloc`.
> 
> All of the named functions share the same function signature and
> implement the same semantics. The `ReallocFunc` abstractions provides a
> generalized wrapper around those, to trivialize the implementation of
> `Kmalloc`, `Vmalloc` and `KVmalloc` in subsequent patches.
> 
> Signed-off-by: Danilo Krummrich <dakr@...nel.org>

Reviewed-by: Gary Guo <gary@...yguo.net>

> ---
>  rust/kernel/alloc.rs           |  8 ++++
>  rust/kernel/alloc/allocator.rs | 70 ++++++++++++++++++++++++++++++++++
>  2 files changed, 78 insertions(+)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ