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
6237077a
Commit
6237077a
authored
Apr 01, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9a50d3c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/wendelin/bigfile/file.h
include/wendelin/bigfile/file.h
+2
-2
No files found.
include/wendelin/bigfile/file.h
View file @
6237077a
...
@@ -143,7 +143,7 @@ struct bigfile_ops {
...
@@ -143,7 +143,7 @@ struct bigfile_ops {
*
*
* NOTE blk and blklen are in blocks, not pages.
* NOTE blk and blklen are in blocks, not pages.
*
*
* @addr NULL - mmap at anywhere, !NULL - mmap exactly at addr.
XXX
* @addr NULL - mmap at anywhere, !NULL - mmap exactly at addr.
* @return !NULL - mapped there, NULL - error.
* @return !NULL - mapped there, NULL - error.
*/
*/
void
*
(
*
mmap_setup_read
)
(
VMA
*
vma
,
BigFile
*
file
,
blk_t
blk
,
size_t
blklen
);
void
*
(
*
mmap_setup_read
)
(
VMA
*
vma
,
BigFile
*
file
,
blk_t
blk
,
size_t
blklen
);
...
@@ -152,7 +152,7 @@ struct bigfile_ops {
...
@@ -152,7 +152,7 @@ struct bigfile_ops {
/* remmap_blk_read is called to remmap a block into vma again, after e.g.
/* remmap_blk_read is called to remmap a block into vma again, after e.g.
* RW dirty page was discarded.
* RW dirty page was discarded.
*
*
* Called under virtmem lock.
NOTE
hard to rework to call with !virt_lock
* Called under virtmem lock.
XXX
hard to rework to call with !virt_lock
*
*
* XXX error -> bug (must not fail)
* XXX error -> bug (must not fail)
*/
*/
...
...
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