compose MemorySegments
Pedro Lamarão
pedro.lamarao at prodist.com.br
Fri Jun 11 13:52:27 UTC 2021
Em sex., 11 de jun. de 2021 às 00:17, leerho <leerho at gmail.com> escreveu:
> This is an interesting problem and a difficult one to do efficiently
> without copies or additional allocations. I think the OS does similar
> tricks when it maps virtual memory addresses into CPU caches or main
> memory. To the user's program it appears as a contiguous memory space but
> in reality could be broken into many separate physical chunks. I'm sure
> there are some ways one could do this in C++, but probably not as efficient
> as the OS could do it.
>
Virtual memory is "accelerated" by the hardware's MMU;
that would be a very hard performance target to replicate in userspace.
--
Pedro Lamarão
https://www.prodist.com.br
Securing Critical Systems
Tel: +55 11 4380-6585
Antes de imprimir esta mensagem e seus anexos, certifique-se que seja
realmente necessário.
Proteger o meio ambiente é nosso dever.
Before printing this e-mail or attachments, be sure it is necessary.
It is in our hands to protect the environment.
More information about the panama-dev
mailing list