Skip to content
  • Charlie Jacobsen's avatar
    libcap-integration: Add support for sharing vmalloc memory. · b9325169
    Charlie Jacobsen authored and Vikram Narayanan's avatar Vikram Narayanan committed
    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.)
    b9325169