In
virtual memory systems, demand paging is a type of
swapping in which
pages of
data are not
copied from
disk to
RAM 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.