Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
f4afcf75
Commit
f4afcf75
authored
Dec 09, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b51abd85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
include/wendelin/bigfile/file.h
include/wendelin/bigfile/file.h
+1
-0
include/wendelin/bigfile/virtmem.h
include/wendelin/bigfile/virtmem.h
+10
-0
No files found.
include/wendelin/bigfile/file.h
View file @
f4afcf75
...
@@ -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.
...
...
include/wendelin/bigfile/virtmem.h
View file @
f4afcf75
...
@@ -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
;
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment