Skip to content

wbcchsyn/rust-mmap-allocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Build Status

mmap-allocator

mmap-allocator declares struct MmapAllocator and function 'page_size' for 'unix' or 'linux' platform.

MmapAllocator implements std::alloc::GlobalAlloc whose backend is 'posix mmap'.

'page_size' returns OS page size. ('unix' and 'linux' os pass memory to a process by multipile of page size; if a process requires 32 bytes heap memory and if the OS page size is 4096 bytes, OS passes 4096 bytes memory chunk. Usually 'malloc' deals it to use memory effectively.)

License: Apache-2.0 OR LGPL-3.0-or-later

About

No description, website, or topics provided.

Resources

License

Apache-2.0, LGPL-3.0 licenses found

Licenses found

Apache-2.0
LICENSE.APACHE2
LGPL-3.0
COPYING.LESSER

Stars

Watchers

Forks

Packages

No packages published

Languages