Greg Wang
2011-07-19 04:13:17 UTC
hey,
I think I got the question correct, just wanna double check.
For the on-demand page loading, is that means we should remove all loadelf
from runprogram and execv, so that nothing got loaded into physical frames
before the thread start to run?
If so, are we gonna manully use load-elf in vm_fault?
As well, once the program require to read part of the code segement, are we
loading the entire ELF file into memory or just the part that is required?
Thx,
Greg Wang
I think I got the question correct, just wanna double check.
For the on-demand page loading, is that means we should remove all loadelf
from runprogram and execv, so that nothing got loaded into physical frames
before the thread start to run?
If so, are we gonna manully use load-elf in vm_fault?
As well, once the program require to read part of the code segement, are we
loading the entire ELF file into memory or just the part that is required?
Thx,
Greg Wang