Page 39 - demo
P. 39

A.1
                                                A.0  A.2
                                                                                     0           0
                                                A.5
                                                                                     1           1
                                                                                     2           2
                                           B.0  B.1  B.2  B.3
                                                                                     3           3
                                                                                     4           4
                                                                                     5           5

                                                                                     6           6
                                                    A.7
                                                                                     7          User
                                                A.9
                                                                                     8        program
                                                                                                 B
                                                                                     9
                                                    A.8
                                                                                    10

                                                                                   User
                                                                                  program
                                                                                    A
                                                B.5  B.6



                                           Main Memory                                     Disk

                                        Main memory consists of a               Secondary memory (disk) can
                                        number of fixed-length frames,          hold many fixed-length pages. A
                                        each equal to the size of a page.       user program consists of some
                                        For a program to execute, some          number of pages. Pages for all
                                        or all of its pages must be in          programs plus the operating system
                                        main memory.                            are on disk, as are files.


                                                      Figure 2.9   Virtual Memory Concepts
   34   35   36   37   38   39   40   41   42   43   44