c***@CSIC.UMD.EDU
2005-04-09 19:48:10 UTC
i start to page out
at: Calling recurse
111 - 110 range.
which i believe is
perfectly fine as i
check how many free
pages are left and
there are none.
however, when i find
a page to page out
the first page i
find is the
"text/data" for the
user program. which
i also think is
right as it is the
first page that was
allocated via
Alloc_Pageable_Page.
that address turns
out to be
0x00036000. I page
it out and my
program runs down to
"recurse 109, 108"
then it needs to
page out again. so
it pages out the
next page. this
continues down to
"recurse 102" then
my program just
wants to write all
pages that exist to
the paging file
until i run out of
pages on the paging
file ( 220 pages i
think. from
[numSectors -
startSector] /
PAGE_SIZE ). i
believe i have taken
care of dealing with
the clock,
initPaging and
Find_Space_On_Paging_File
perfectly fine.
Write_to_Paging_File
is mildly correct.
however, i should be
able to get down to
" recurse 1" and
receive a "Read
Fault". at least
from my
understanding of
paging/Virtual
Memory.
Anyone have any
suggestions?
at: Calling recurse
111 - 110 range.
which i believe is
perfectly fine as i
check how many free
pages are left and
there are none.
however, when i find
a page to page out
the first page i
find is the
"text/data" for the
user program. which
i also think is
right as it is the
first page that was
allocated via
Alloc_Pageable_Page.
that address turns
out to be
0x00036000. I page
it out and my
program runs down to
"recurse 109, 108"
then it needs to
page out again. so
it pages out the
next page. this
continues down to
"recurse 102" then
my program just
wants to write all
pages that exist to
the paging file
until i run out of
pages on the paging
file ( 220 pages i
think. from
[numSectors -
startSector] /
PAGE_SIZE ). i
believe i have taken
care of dealing with
the clock,
initPaging and
Find_Space_On_Paging_File
perfectly fine.
Write_to_Paging_File
is mildly correct.
however, i should be
able to get down to
" recurse 1" and
receive a "Read
Fault". at least
from my
understanding of
paging/Virtual
Memory.
Anyone have any
suggestions?