flat assembler
Message board for the users of flat assembler.

Index > Windows > nonpaged pool?

Author
Thread Post new topic Reply to topic
a115433



Joined: 05 Mar 2010
Posts: 144
a115433
whats the reason for nonpaged memory?
why windows implement it?

the only diffrence is that it cant be swapped out.

when cpu access memory that is swapped out, it will experience page fault.
page fault handler will copy page to memory and resume execution.

why this is wrong? why when running on high IRQL i must use nonpaged memory?
page fault is exception and it cant ba masked out... so whats the problem in using only paged memory?
Post 26 Apr 2010, 09:04
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
CPU sometimes does quite complex accesses to memory internally, eg. memory map, or reading control structure during virtualization.

Also, google "DMA"
Post 26 Apr 2010, 09:40
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
a115433



Joined: 05 Mar 2010
Posts: 144
a115433
in not asking about cpu but about windows internal function reventing me to page fault in nonpaged memory.
Post 26 Apr 2010, 11:03
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.