Export (0) Print
Expand All
IRP
MDL
Expand Minimize

NPAGED_LOOKASIDE_LIST

The NPAGED_LOOKASIDE_LIST structure is an opaque structure that describes a lookaside list of fixed-size buffers allocated from nonpaged pool. The system creates new entries and destroys unused entries on the list as necessary. For fixed-size buffers, using a lookaside list is quicker than allocating memory directly.

Use ExInitializeNPagedLookasideList to initialize the lookaside list. Use ExAllocateFromNPagedLookasideList to allocate a buffer from the list, and ExFreeToNPagedLookasideList to return a buffer to the list.

Drivers must always explicitly free any lookaside lists they create before unloading. It is a serious programming error to do otherwise. Use ExDeleteNPagedLookasideList to free the list.

Drivers can also use lookaside lists for paged pool. Starting with Windows 2000, a PAGED_LOOKASIDE_LIST structure describes a lookaside list that contains paged buffers. Starting with Windows Vista, a LOOKASIDE_LIST_EX structure can describe a lookaside list that contains either paged or nonpaged buffers. For more information, see Using Lookaside Lists.

On 64-bit platforms, this structure must be 16-byte aligned.

Requirements

Version

Supported starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

See also

ExAllocateFromNPagedLookasideList
ExDeleteNPagedLookasideList
ExFreeToNPagedLookasideList
ExInitializeNPagedLookasideList
LOOKASIDE_LIST_EX
PAGED_LOOKASIDE_LIST

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft