mm: Allow dev.mmap() to block
[akaros.git] / kern / include / mm.h
index 0080953..79dddd3 100644 (file)
@@ -55,6 +55,7 @@ struct vm_region {
        int                                                     vm_flags;
        struct file_or_chan                     *__vm_foc;
        size_t                                          vm_foff;
+       bool                                            vm_ready;       /* racy, for the PM checks */
 };
 TAILQ_HEAD(vmr_tailq, vm_region);                      /* Declares 'struct vmr_tailq' */