proc->thread stage 4: rework the VFS and DEVICE subsystems to take thread