Commit Graph

5 Commits

Author SHA1 Message Date
ArchStacker
628a8c76e8 Add tests in lab7_result:swap_fifo.c 2015-05-10 00:41:01 +08:00
ArchStacker
e112eacf4d Fix the bug in lab7_result:vmm.c 2015-05-10 00:37:37 +08:00
ArchStacker
47afad0cca Fix the unsuitable use of pa2page in lab7_result 2015-05-04 19:52:58 +08:00
Junjie Mao
d9a83bd7be Adjust the time slice to 50ms
The original time slice (200ms) is too large for the priority test to
generate a satisfactory result in 20s. If we only schedule 5 times a
second, there are only 100 pick_next calls to the scheduler.

I believe making scheduling more frequently does little harm to the
system. Actually more scheduling opportunities may also reveal bugs
which are not triggered previously. Adopting smaller time slices also
allows us to reduce the time spent on the priority test, which can
benefit the autotesting system.

Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
2015-03-24 10:52:27 +08:00
chyyuu
f9773095fe add lab answers 2014-08-20 15:42:20 +08:00