Okay!
Now I got the context …
Before I said " It is true that sys file goes to pagefile" in response
to Max’s reply, I briefly read the NT insider’s article and it even says
that the pagefile is named pagefile.sys ( or something by default ).
Would not go in this direction ( sorry for being lazy now ).
Then Jake’s answer was in that context, but reading just that stmt in
isolation made me to belief, wow may be other sys files are using
themselves for backing store … Peter W. embolden and got me into right
path. Thanks to you all.
What was back in my head ???
Very simple, if there are hundreds of sys files, totaling 100+ MB,
what is the point of enlarging the pagefile. Not that it is a helpful
information to me right now, and disk space is usually big, but then
again …
-pro
Prokash Sinha wrote:
Thanks Peter. Seems like I did not parse well Jake’s stmt :-).
So just an arbit question, for sys files that are loaded after Mm is
active, what are the other reasons that they have to be paged out ( if
pageable sections presents) to pagefile. Or is it just a mere
convenience to have them all use the pagefile as backing store ?-pro
Peter Wieland wrote:
>
> You assume incorrectly. Drivers are backed by the page file, not the
> original on-disk file, no matter when they’re loaded.
>
>
>
> -p
>
>
>
> *From:* xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] *On Behalf Of *Prokash Sinha
> *Sent:* Wednesday, April 29, 2009 4:51 PM
> *To:* Windows System Software Devs Interest List
> *Subject:* Re: [ntdev] Paged or Non Paged ???
>
>
>
> Thanks a bunch… That clarifies stuff.
>
>
> From your stmt, Jake, now I assume that any driver that are loaded
> much later in the system bring up ( meaning the Mm is active now )
> phase are indeed not using pagefile !!!.
>
>
>
> -pro
>
> On Wed, Apr 29, 2009 at 4:24 PM, Jake Oshins
> >
>> wrote:
>>
>> The answer is simpler than you might expect. The memory manager can
>> only page code from its original image if it knows where that image
>> is. Boot drivers (which are the ones which are paged to the page
>> file) are put into memory by the bootloader. Thus the memory manager
>> has no idea where they came from on disk.
>>
>> –
>> Jake Oshins
>> Hyper-V I/O Architect
>> Windows Kernel Group
>>
>> This post implies no warranties and confers no rights.
>>
>> --------------------------------------------------------------
>>
>> “Prokash Sinha” >
>> wrote in message news:xxxxx@ntdev…
>>
>>
>> Yes it is true that sys file goes to pagefile …
>>
>>
>> Now the most non-obvious question is why they are jumbled together
>> into pagefile ???
>>
>>
>> If I’ve to guess, then (1) because they are relatively small in size
>> (2) security (3) what else ???
>>
>>
>> There are bits and pieces of informations here or there about this
>> whole business of ( image format, in core process structure, who
>> loads, paged vs. non-paged, privileges and all sorts )…
>>
>>
>> In the past I’ve seen two articles on Mm & VA on insider - nicely
>> written, could be nicer for newb ( and very very oldb, like me :).
>> Something that would match with the general concepts one gets out of
>> college ( and does not delve into it on a daily basis, but sometime
>> need to get on with it ). This is exactly the
>> poor-soul-from-the-driver-land needs !!!
>>
>>
>> -pro
>>
>>
>> On Wed, Apr 29, 2009 at 1:56 PM, Maxim S. Shatskih
>> > wrote:
>>
>> Read something about NT file ( including image) mapping …
>>
>>
>>
>> User and kernel mode image mapping do differs a lot.
>>
>> User mapped image holds the file open, and pages in the pages from
>> the image file itself on faults.
>>
>> Kernel driver does not hold the .SYS file open, and pages the pages
>> in from the pagefile on faults.
>>
>> –
>>
>> Maxim S. Shatskih
>> Windows DDK MVP
>> xxxxx@storagecraft.com mailto:xxxxx
>> http://www.storagecraft.com
>>
>>
>> —
>>
>> 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
>>
>>
>>
>> — 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
>
>
> —
> 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
></mailto:xxxxx>