minix/minix/tests/safecopy
Ben Gras bad58c9c51 merge libminlib with libc
Change-Id: I79cc4ea90c378a1da3dac16487b53034953827a7
2014-08-28 18:49:19 +02:00
..
down New sources layout 2014-07-31 16:00:30 +02:00
grantor.c New sources layout 2014-07-31 16:00:30 +02:00
inc.h New sources layout 2014-07-31 16:00:30 +02:00
Makefile merge libminlib with libc 2014-08-28 18:49:19 +02:00
README New sources layout 2014-07-31 16:00:30 +02:00
requestor.c New sources layout 2014-07-31 16:00:30 +02:00
run New sources layout 2014-07-31 16:00:30 +02:00
system.conf New sources layout 2014-07-31 16:00:30 +02:00

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