Thanks, I just found that the ‘Windows Internals’ book elaborates on this
further, (Chapter 7, Page 413),
-Saravana
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Tuesday, August 28, 2007 11:20 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] driver verifier test help
I don’t think it trims working sets for all applications, rather it just
invalidates the page table entries for all of pageable pool (or as much
as it can). I haven’t looked at the code for this in years, I am sure
it is a lot smarter then it used to be since I looked at it.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Tuesday, August 28, 2007 10:43 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] driver verifier test help
Saravana Kumar Rathinam wrote:
Yes, without a fault there would be no way of catching these, but the
page
can be resident if it’s on the standby list, in which case there would
be a
page fault (soft). Also, in cases where the Paged pool is expanded and
there
are new system page tables created for these, page faults would happen
if
the process page directory does not point to the new system page table
(even
if the page is physically resident).
Yes, the “physically resident” state is irrelevant. The key question is
whether the page is present in the page tables. If it is, there will
not be a fault of any kind. What verifier does is eliminate those pages
from the page tables.
I did not know that verifier trims the working set too. Are all the
pageable
working set entries trimmed?
Someone like Doron will have to provide the details. My understanding
is that the verifier is rather aggressive with the trimming.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer