# functionality should work too, and it's easy to screw it up, thus
# the equal weight placed on each.
-25% tests/vm/Rubric.functionality
-25% tests/vm/Rubric.robustness
-12.5% tests/userprog/Rubric.functionality
-12.5% tests/userprog/Rubric.robustness
-25% tests/filesys/base/Rubric
+50% tests/vm/Rubric.functionality
+15% tests/vm/Rubric.robustness
+10% tests/userprog/Rubric.functionality
+5% tests/userprog/Rubric.robustness
+20% tests/filesys/base/Rubric
Functionality of virtual memory subsystem:
-- Test page table.
-4 pt-grow-stack
-2 pt-grow-stk-sc
-6 pt-big-stk-obj
-6 pt-grow-pusha
+- Test stack growth.
+3 pt-grow-stack
+3 pt-grow-stk-sc
+3 pt-big-stk-obj
+3 pt-grow-pusha
- Test paging behavior.
-2 page-linear
+3 page-linear
3 page-parallel
3 page-shuffle
-5 page-merge-seq
-5 page-merge-par
-5 page-merge-mm
-5 page-merge-stk
+4 page-merge-seq
+4 page-merge-par
+4 page-merge-mm
+4 page-merge-stk
- Test "mmap" system call.
2 mmap-read
/* Child process of page-parallel.
- Encrypts 128 kB of zeros, then decrypts it, and ensures that
+ Encrypts 1 MB of zeros, then decrypts it, and ensures that
the zeros are back. */
#include <string.h>
const char *test_name = "child-linear";
-#define SIZE (128 * 1024)
+#define SIZE (1024 * 1024)
static char buf[SIZE];
int
-/* Encrypts, then decrypts, 1 MB of memory and verifies that the
+/* Encrypts, then decrypts, 2 MB of memory and verifies that the
values are as they should be. */
#include <string.h>
#include "tests/lib.h"
#include "tests/main.h"
-#define SIZE (1024 * 1024)
+#define SIZE (2 * 1024 * 1024)
static char buf[SIZE];
-/* Runs 3 child-linear processes at once. */
+/* Runs 4 child-linear processes at once. */
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
-#define CHILD_CNT 3
+#define CHILD_CNT 4
void
test_main (void)
(page-parallel) exec "child-linear"
(page-parallel) exec "child-linear"
(page-parallel) exec "child-linear"
+(page-parallel) exec "child-linear"
(page-parallel) wait for child 0
(page-parallel) wait for child 1
(page-parallel) wait for child 2
+(page-parallel) wait for child 3
(page-parallel) end
EOF
pass;