Name Date Size #Lines LOC

..--

MakefileH A D24-Jun-2021270 2214

READMEH A D24-Jun-2021584 2014

downH A D24-Jun-202168 62

grantor.cH A D24-Jun-20211.5 KiB6035

inc.hH A D24-Jun-20211.4 KiB5340

requestor.cH A D24-Jun-20212.3 KiB9758

runH A D24-Jun-2021183 83

system.confH A D24-Jun-2021142 1916

README

1Test Program for Safecopy with or without COW
2
3How to run
4==========
5
6Test safecopy with COW:
7  1. Set USE_COW_SAFECOPY to 1 in /usr/src/kernel/system/do_safecopy.c
8  2. Type `make run` to prepare and run test.
9  3. When done testing, type `make clean` to clean up.
10
11Test safecopy without COW:
12  1. Set USE_COW_SAFECOPY to 0 in /usr/src/kernel/system/do_safecopy.c
13  2. Type `make run` to prepare and run test.
14  3. When done testing, type `make clean` to clean up.
15
16If you want to modify the test buffer size:
17  1. Modify TEST_PAGE_NUM in inc.h
18  2. Modify TEST_PAGE_SHIFT in inc.h
19
20