Content deleted Content added
mNo edit summary |
add cite; add ref. section |
||
Line 1:
{{Unreferenced|date=December 2009}}
'''Memory-disk synchronisation'''<ref>{{cite web |title=Write+Sync: Software Cache Write Covert Channels Exploiting Memory-disk Synchronization |url=https://arxiv.org/abs/2312.11501 |website=arxiv.org |access-date=1 July 2025}}</ref> is a process used in [[computer]]s that immediately writes to [[disk storage|disk]] any data queued for writing in volatile memory. Data is often held in this way for efficiency's sake, since writing to disk is a much slower process than writing to [[random access memory|RAM]]. Disk synchronization is needed when the computer is going to be shut down, or occasionally if a particularly important bit of data has just been written.
In [[Unix]]-like systems, a disk synchronization may be requested by any user with the '''sync''' command.
Line 8:
* [[mmap]], a POSIX-compliant Unix system call that maps files or devices into memory
* [[msync]], a POSIX-compliant Unix system call that forcefully flush memory to disk and synchronize
==References==
{{Reflist}}
{{DEFAULTSORT:Memory-Disk Synchronization}}
|