fortanix / rust-sgx

The Fortanix Rust Enclave Development Platform
https://edp.fortanix.com
Mozilla Public License 2.0
429 stars 98 forks source link

Userspace heap allocation #12

Open jethrogb opened 5 years ago

jethrogb commented 5 years ago

Currently, UserBox allocates its own memory from userspace using the alloc/free usercalls. This is inefficient. Instead, there could be an allocator that uses alloc once (or as needed) to hand out allocations. Care needs to be taken to avoid storing allocation metadata in userspace.

raoulstrackx commented 1 year ago

Relates to #450