Commit f4afcf75 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b51abd85
...@@ -99,6 +99,7 @@ struct bigfile_ops { ...@@ -99,6 +99,7 @@ struct bigfile_ops {
* } * }
* virt_unlock() * virt_unlock()
* *
* XXX mention VMA.mmap_overlay_server?
* XXX called under virtmem lock? * XXX called under virtmem lock?
* *
* NOTE blk and blklen are in blocks, not pages. * NOTE blk and blklen are in blocks, not pages.
......
...@@ -169,6 +169,16 @@ struct VMA { ...@@ -169,6 +169,16 @@ struct VMA {
/* whether corresponding to pgoffset-f_offset page is mapped in this VMA */ /* whether corresponding to pgoffset-f_offset page is mapped in this VMA */
bitmap *page_ismappedv; /* len ~ Δaddr / pagesize */ bitmap *page_ismappedv; /* len ~ Δaddr / pagesize */
/* BigFile-specific field used when VMA was created from fileh opened with
* MMAP_OVERLAY flag. bigfile_ops.mmap_setup_read initializes this to
* object pointer specific to serving created base overlay mapping.
*
* For example WCFS uses this to link VMA -> wcfs.Mapping to know which
* wcfs-specific mapping is serving particular virtmem VMA.
*
* NULL for VMAs created from under DONT_MMAP_OVERLAY fileh. */
void *mmap_overlay_server;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment