In virtual memory systems
, demand paging is a type of swapping
in which pages
are not copied
until they are needed. In contrast, some virtual memory systems use anticipatory paging,
in which the operating system
attempts to anticipate which data will be needed next and copies it to RAM before it is actually required.