minix3/tests/safecopy
BAREEDU SAI SANDEEP SANDEEP 67a9e8efa1 Pid build and working 2020-02-21 00:59:27 +05:30
..
Makefile Pid build and working 2020-02-21 00:59:27 +05:30
README Pid build and working 2020-02-21 00:59:27 +05:30
down Pid build and working 2020-02-21 00:59:27 +05:30
grantor.c Pid build and working 2020-02-21 00:59:27 +05:30
inc.h Pid build and working 2020-02-21 00:59:27 +05:30
requestor.c Pid build and working 2020-02-21 00:59:27 +05:30
run Pid build and working 2020-02-21 00:59:27 +05:30
system.conf Pid build and working 2020-02-21 00:59:27 +05:30

README

Test Program for Safecopy with or without COW

How to run
==========

Test safecopy with COW:
  1. Set USE_COW_SAFECOPY to 1 in /usr/src/kernel/system/do_safecopy.c
  2. Type `make run` to prepare and run test.
  3. When done testing, type `make clean` to clean up.

Test safecopy without COW:
  1. Set USE_COW_SAFECOPY to 0 in /usr/src/kernel/system/do_safecopy.c
  2. Type `make run` to prepare and run test.
  3. When done testing, type `make clean` to clean up.

If you want to modify the test buffer size:
  1. Modify TEST_PAGE_NUM in inc.h
  2. Modify TEST_PAGE_SHIFT in inc.h