Are calls to ExAllocateFromPagedLookasideList and ExFreeToPagedLookasideList
synchronized (against the LookasideList), or do I need to put my own mutual
exclusions into the bodies of my Allocate and Free functions?
Keith
Are calls to ExAllocateFromPagedLookasideList and ExFreeToPagedLookasideList
synchronized (against the LookasideList), or do I need to put my own mutual
exclusions into the bodies of my Allocate and Free functions?
Keith
They are synchronized in the sense that concurrent calls to these
functions will not corrupt the data structure. Lookaside lists are
designed to be lock free from the perspective of the list user.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Keith Starsmeare
Sent: Wednesday, April 20, 2005 10:23 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] ExInitializePagedLookasideList optional allocate and
free routines
Are calls to ExAllocateFromPagedLookasideList and
ExFreeToPagedLookasideList
synchronized (against the LookasideList), or do I need to put my own
mutual
exclusions into the bodies of my Allocate and Free functions?
Keith
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Yes they are. They are macros, look at their implementation.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Keith Starsmeare”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Wednesday, April 20, 2005 9:23 PM
Subject: [ntdev] ExInitializePagedLookasideList optional allocate and free
routines
> Are calls to ExAllocateFromPagedLookasideList and ExFreeToPagedLookasideList
> synchronized (against the LookasideList), or do I need to put my own mutual
> exclusions into the bodies of my Allocate and Free functions?
>
> Keith
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com