Port fix: Windows does not allow read-only mappings > file's size
[babeltrace.git] / plugins / ctf / fs-src / data-stream-file.h
index 8b2d7247fb91797ee3b759a567916cbb698c4cc7..56397dff46d31c351be035119ad14967706b9049 100644 (file)
@@ -99,7 +99,10 @@ struct ctf_fs_ds_file {
 
        void *mmap_addr;
 
-       /* Max length of chunk to mmap() when updating the current mapping. */
+       /*
+        * Max length of chunk to mmap() when updating the current mapping.
+        * This value must be page-aligned.
+        */
        size_t mmap_max_len;
 
        /* Length of the current mapping. */
This page took 0.023972 seconds and 4 git commands to generate.