OSRLogo
OSRLogoOSRLogoOSRLogo x OSR Custom Development Services
OSRLogo
x

Everything Windows Driver Development

x
x
x
GoToHomePage xLoginx
 
 

    Wed, 18 Jul 2018     117481 members

   Login
   Join


 
 
Contents
  Online Dump Analyzer
OSR Dev Blog
The NT Insider
Downloads
ListServer / Forum
Driver Jobs
  Express Links
  · The NT Insider Digital Edition - May-June 2016 Now Available!
  · Windows 8.1 Update: VS Express Now Supported
  · HCK Client install on Windows N versions
  · There's a WDFSTRING?
  · When CAN You Call WdfIoQueueP...ously

Pool and Memory Events

Starting in Windows Server 2003, the memory manager sets and clears a set of event (notification) objects to signal various memory conditions.  You can use these event in your driver to guide how paged and/or non-paged pool is allocated.  These events are:

\KernelObjects\HighPagedPoolCondition
\KernelObjects\HighNonPagedPoolCondition

These events are signalled whenever there's plenty of free space available in the indicated pool.  When set, a driver can freely allocate large blocks.

\KernelObjects\LowPagedPoolCondition
\KernelObjects\LowNonPagedPoolCondition

These events are signalled whenever there's a relatively small amount of space available in the indicated pool.  Note that these events don't necessarily signal a serious pool shortage, but rather that pool users should "cool it" and refrain from aggressive allocations in the indicated pool to help avoid a future serious shortage.

Before you ask: No, the parameters (that is, the specific amounts of memory) that cause these flags to be set and cleared aren't public.

The pool events add to the following which have been present in Windows since at least Windows 2000:

\KernelObjects\HighMemoryCondition
\KernelObjects\LowMemoryCondition
 

Related Articles
Must Succeed Pool...DEAD!
Who Owns Which Pool Tag
No Pool Tagging for Special Pool
Permanent Pool Overrun Checking Starting With XP SP2
ExAllocatePoolWithQuota Raises Exceptions

User Comments
Rate this article and give us feedback. Do you find anything missing? Share your opinion with the community!
Post Your Comment

Post Your Comments.
Print this article.
Email this article.

Kernel Debugging & Crash Analysis
LAB

Manchester, NH
30 July - 3 Aug 2018

Developing Filter Manager Minifilters
LAB

Manchester, NH
20-24 August 2018

Writing WDF Drivers I: Core Concepts
LAB

Santa Clara/San Jose, CA
10-14 Sept 2018

Writing WDF Drivers II: Advanced Implementation Techniques
LAB

Manchester, NH
16-19 October 2018

 
 
 
 
x
LetUsHelp
 

Need to develop a Windows file system solution?

We've got a kit for that.

Need Windows internals or kernel driver expertise?

Bring us your most challenging project - we can help!

System hangs/crashes?

We've got a special diagnostic team that's standing by.

Visit the OSR Corporate Web site for more information about how OSR can help!

 
bottom nav links