Commit b9325169 authored by Committed by Vikram NarayananBrowse files
libcap-integration: Add support for sharing vmalloc memory.
We were doing this before (memory for module bits is vmalloc'd), but we used a capability per page. This leads to a handful of cptr's we have to keep track of, rather than just a couple. Moreover, when I tune page allocation inside the LCD, I may have to vmalloc memory (if the required chunks are big enough). So, one vmalloc allocation should be represented with a single capability. (We sacrifice some access control granularity.)