diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-15 16:03:04 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-15 16:07:16 -0500 |
commit | ea3e474d9e91811e66381d029e7c0eb9115b6e69 (patch) | |
tree | 62b81f5f05e0d5107701dede6c12ba3a26f3d3da /io_uring/advise.h | |
parent | f589b48789de4b8f77bfc70b9f3ab2013c01eaf2 (diff) |
rust: Add a rust helper for krealloc()memalloc_prof_v3
Memory allocation profiling is turning krealloc() into a nontrivial
macro - so for now, we need a helper for it.
Until we have proper support on the rust side for memory allocation
profiling this does mean that all Rust allocations will be accounted to
the helper.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: Alex Gaynor <alex.gaynor@gmail.com>
Cc: Wedson Almeida Filho <wedsonaf@gmail.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Gary Guo <gary@garyguo.net>
Cc: "Björn Roy Baron" <bjorn3_gh@protonmail.com>
Cc: Benno Lossin <benno.lossin@proton.me>
Cc: Andreas Hindborg <a.hindborg@samsung.com>
Cc: Alice Ryhl <aliceryhl@google.com>
Cc: rust-for-linux@vger.kernel.org
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'io_uring/advise.h')
0 files changed, 0 insertions, 0 deletions