PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] faults
Date: Tuesday, 24 Nov 2020, 10:39:36


    > Message Posted By: Unknown
    >
    > Is a fault on the page table only when the page cannot find its respective
    > page frame in main memory, and thus must look at secondary memory, or is a
    > fault for virtual addresses when it cannot be found in general?

A page fault occurs when the page referenced is not
in memory (i.e., is not in any page frame).
=====

    > Upon a fault (assuming the former above), why does the page have to be
    > added to memory? Can't it just stay in secondary storage and the map be
    > updated with the address of the secondary storage location?

CPU instructions may only access data in registers or
memory.

--Stan-
PREV INDEX NEXT