qemu-rust
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC 06/13] rust: add bindings for memattrs


From: Paolo Bonzini
Subject: Re: [RFC 06/13] rust: add bindings for memattrs
Date: Fri, 6 Dec 2024 09:28:44 -0500



Il ven 6 dic 2024, 05:59 Peter Maydell <peter.maydell@linaro.org> ha scritto:
> is still decently packed and simplifies things a lot.

The old struct is 4 bytes, and the new one is 8 bytes.

Yes, hence "decently" packed. But I think in both cases it's passed in registers, and for 64-bit machine that shouldn't change anything.

Paolo

We do
a lot of directly passing 'struct MemTxAttrs' arguments around
as arguments to functions (i.e. not passing pointers to them),
so increasing it in size is not completely free.

thanks
-- PMM


reply via email to

[Prev in Thread] Current Thread [Next in Thread]