Search code examples
wdk

Windows Driver Kit, what does "storage must be resident" mean?


Are they refering to non-pagable memory or what? I cannot find any reference to resident storage.


Solution

  • Resident memory, as mentioned here, here and here simply referes to memory that is not currently paged. Memory allocated from the NonPagedPool is for instance always resident while memory allocated from the PagedPool can be resident but you have to check that the memory hasn't been paged out before you use it (depending on the context IRQL requirements).