Added another test thread and varied the timing. Still seems to work right.
Updated the TODO list. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@645 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+15
-7
@@ -1,8 +1,16 @@
|
|||||||
*1) There is no arch-level integration. This is to be tested (to death) in user land first.
|
1) Need to make the paging daemon load the pages in, using semaphores.
|
||||||
2) Tests are not done. Barely started.
|
2) See how unresolvable page faults and permissions errors are handled - need to properly handle
|
||||||
3) Improve locking
|
3) Implment cloneArea
|
||||||
|
4) Tests are not done.
|
||||||
|
Test:
|
||||||
|
getAreaInfo
|
||||||
|
getNextAreaInfo
|
||||||
|
cloneArea
|
||||||
|
resizeArea
|
||||||
|
setAreaProtection
|
||||||
|
mmap
|
||||||
|
paging
|
||||||
|
|
||||||
5) I use new and delete. I know that doesn't work in kernel land. Not too tough to change, though.
|
5) Improve locking (remains to be seen - works ok so far)
|
||||||
6) Need to make the paging daemon load the pages in, using semaphores.
|
6) I use new and delete. I know that doesn't work in kernel land. Not too tough to change, though.
|
||||||
|
7) There is no arch-level integration. This is to be tested (to death) in user land first. * == can not be done in user land.
|
||||||
* == can not be done in user land.
|
|
||||||
|
|||||||
@@ -49,10 +49,12 @@ int32 loopTest(void *parameters)
|
|||||||
int main(int argc,char **argv)
|
int main(int argc,char **argv)
|
||||||
{
|
{
|
||||||
loopTestParameters area1Params={"area1",1000000,2,100000,100000};
|
loopTestParameters area1Params={"area1",1000000,2,100000,100000};
|
||||||
loopTestParameters area2Params={"area2",1000000,2,100000,100000};
|
loopTestParameters area2Params={"area2",1000000,2,200000,100000};
|
||||||
|
loopTestParameters area3Params={"area3",1000000,2,300000,200000};
|
||||||
|
|
||||||
resume_thread(spawn_thread(loopTest,"area test 1",0,&area1Params));
|
resume_thread(spawn_thread(loopTest,"area test 1",0,&area1Params));
|
||||||
resume_thread(spawn_thread(loopTest,"area test 2",0,&area2Params));
|
resume_thread(spawn_thread(loopTest,"area test 2",0,&area2Params));
|
||||||
|
resume_thread(spawn_thread(loopTest,"area test 3",0,&area3Params));
|
||||||
|
|
||||||
snooze(50000000);
|
snooze(50000000);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user