Is there a way to do something like:
large = mmap([size = 0x10000000);
small = mmap([size = 0x00001000);

then put the pages allocated at small into multiple locations in large? Like at offset 0x00001000 and 0x80001000?

I suppose I might need to use shm for this?

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!