X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fvm.texi;h=6f0c1a71b2e60b7cdeff0b8339580449426edb41;hb=002a3b0692ec75ee05496a14f4f333cb04853b07;hp=6b07490b56fa8412e0113deac5a47226f7b7c331;hpb=6b6152842350f855579701d2405910411c6a6e81;p=pintos-anon diff --git a/doc/vm.texi b/doc/vm.texi index 6b07490..6f0c1a7 100644 --- a/doc/vm.texi +++ b/doc/vm.texi @@ -648,6 +648,12 @@ you like, but it should be the underlying mechanism. Also, you can use the @option{-u} option to @command{pintos} to limit the size of the user pool, which makes it easy to test your VM implementation with various user memory sizes. + +@item Data pages might need swap space. Can I swap them out at process load? + +No. Reading data pages from the executable and writing them to swap +immediately at program startup is not demand paging. You need to demand +page everything (except partial pages). @end table @node Memory Mapped File FAQ