X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fthreads.texi;fp=doc%2Fthreads.texi;h=b001548c05b5fd3533bf7f2ffd2420735f7a7935;hb=59385cfe7f0fc5a66dfc1da7c2e5b817edbcae65;hp=061c6ee29934640c5d2d810e17773c461d451135;hpb=78ee2ff83ef8787d0cfd74dafaca125c523ea0d0;p=pintos-anon diff --git a/doc/threads.texi b/doc/threads.texi index 061c6ee..b001548 100644 --- a/doc/threads.texi +++ b/doc/threads.texi @@ -499,10 +499,12 @@ relative to the original Pintos scheduling algorithm (round robin) for at least one workload of your own design (i.e.@: in addition to the provided test). -You must write your code so that we can turn the MLFQS on and off at -compile time. By default, it must be off, but we must be able to turn -it on by inserting the line @code{#define MLFQS 1} in -@file{constants.h}. @xref{Conditional Compilation}, for details. +You must write your code so that we can choose a scheduling algorithm +policy at Pintos startup time. By default, the round-robin scheduler +must be active, but we must be able to choose the MLFQS by invoking +@command{pintos} with the @option{-o mlfqs} option. Passing this +option sets @code{enable_mlfqs}, declared in @file{threads/init.h}, to +true. @node Threads FAQ @section FAQ