Windows Driver Kit: Kernel-Mode Driver Architecture
Making Driver Code or Data Pageable
To make a driver routine pageable, you must make sure that it runs at IRQL < DISPATCH_LEVEL and that it does not acquire any spin locks.
This section contains the following topics: