1 Test Program for Safecopy with or without COW
6 Test 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.
11 Test 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.
16 If 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