c - Executing a Stopped Process in XV6 -


i wrote 2 new system calls , add them xv6 os kernel. using 1 system call can save process state , using other 1 can reload previous state , continue. problem in reloading section.


is enough reload context of process ? (i mean struct context contains cpu register)

no.

the process may have open files , pipes in proc->ofile, need save/load.

note time re-load process, parent may no longer exist.
you'll want make sure process isn't floating around without real parent, or you'll in fun bugs.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -