Mark,
No doubt this is the situation in any fall-back scenario like this. Limiting
the use of the fall back algorithm to only system critical cases such as
paging paths would reduce the chances but you are still faced with the same
problem in the end.
Pete
Kernel Drivers
Windows Filesystem and Device Driver Consulting
www.KernelDrivers.com
(303)546-0300
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Roddy, Mark
Sent: Wednesday, May 25, 2005 11:48 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] LookAsideLists
I looked at that approach for a driver that does a lot of allocations
and rejected it as not really solving the problem while increasing the
complexity. What happens when the lookaside-lookaside fails? Which list
do you use for ExFreeToxxxx?
=====================
Mark Roddy
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Scott
Sent: Wednesday, May 25, 2005 10:53 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] LookAsideLists
You can specify a function to be called when the look aside list has
been depleted. By default this call is ExAllocatePool() but you can
specify your own call here, thus if you pre-allocate a ‘spare’ list, you
can return a piece of this from the depletion routine.
Look at the second parameter to ExInitializexxxLookasideList().
Pete
Kernel Drivers
Windows Filesystem and Device Driver Consulting www.KernelDrivers.com
(303)546-0300
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Else Kluger
Sent: Wednesday, May 25, 2005 9:41 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] LookAsideLists
Hi all,
I’ve changed my driver towards using LookAsideLists, and now I’m
wondering if for “important” allocations I should preallocate a spare
list in case the LookAsideList resources are down ?
In other words, is there a inbuilt fallback mechanism with
LookAsideLists, or do I still have to provide queueing a request, or
try again with ExAllocate etc. ?
Kind Regards
Else
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@kerneldrivers.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com