1) I have a 24 Meg machine, on which mmap-ing an 8 Meg file doesn't yield any
disk/swapping activity; after exiting a program using `mmap', it seems that
only the portion of the file corresponding to the last mmap-ed page is updated
(actually, I `mmap' an integral number of pages, which amount to 16 Meg, plus
a small fraction of a page, that should be translated by the mmap-ing
algorithm to a whole VM page; this is the part which is actually updated in
the disk file). Any idea about this strange behaviour?
2) Is there any syscall which performs the `msync' action? I just need to know
how to code a routine that uses SYSCALLx to perform msync-ing.
-- Angelo Ferrigno E-Mail: aferrign@micronet.it IT Consultant Milan, Italy