ladybird/Libraries
Andreas Kling dbb644f20c Kernel: Start implementing purgeable memory support
It's now possible to get purgeable memory by using mmap(MAP_PURGEABLE).
Purgeable memory has a "volatile" flag that can be set using madvise():

- madvise(..., MADV_SET_VOLATILE)
- madvise(..., MADV_SET_NONVOLATILE)

When in the "volatile" state, the kernel may take away the underlying
physical memory pages at any time, without notifying the owner.
This gives you a guilt discount when caching very large things. :^)

Setting a purgeable region to non-volatile will return whether or not
the memory has been taken away by the kernel while being volatile.
Basically, if madvise(..., MADV_SET_NONVOLATILE) returns 1, that means
the memory was purged while volatile, and whatever was in that piece
of memory needs to be reconstructed before use.
2019-12-09 19:12:38 +01:00
..
LibAudio LibAudio: Install library and headers 2019-12-08 11:40:30 +01:00
LibC Kernel: Start implementing purgeable memory support 2019-12-09 19:12:38 +01:00
LibCore AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
LibDraw AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
LibELF Kernel: Demangle kernel C++ symbols correctly again 2019-11-29 14:59:15 +01:00
LibGUI AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
LibHTML AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
LibIPC LibIPC: Install libipc.a into /usr/lib 2019-12-07 14:52:27 +01:00
LibM LibC, LibM: Add functions needed to compile python3 2019-11-11 22:04:16 +01:00
LibMarkdown AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
LibPCIDB AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
LibProtocol LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
LibPthread LibPThread: Add pthread_set/getname_np 2019-12-08 14:09:29 +01:00
LibThread LibThread: Allow setting thread name in constructor 2019-12-08 14:09:29 +01:00
LibVT AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00