Page 57 - slides.dvi
P. 57

•
                                          •
                                                                                                    •
                                                                                            •
                                   •
                                                       •
                       –
                  –
                                                       At
                                   As
   Operating
                                                                                            e.g.
                       if
                                                                                     May
                                                  check
                  can
                                                                                kernel
                                                       the
                              process
                                                                                            one
   Systems
                                          Attempt
                                                                                     also
                  do
                                                                                                    Associate
   —
                                   before,
                                                                                                               Protection
                       invalid
                                          to
                                                                                            bit
                                                       same
                                                                                mode,
                  lots
   Paging
                       ⇒
                                                                                            for
                              address
                                   have
                  of
                                                  protection
                                                       time
                                                                                e.g.
                                          violate
                       trap
                                                                                a
                                                                                                               Issues
                                                                                                    protection
                                                       as
                                                                                     distinguish
                                                                                            read,
                                                  bits.
                       to
                              space:
                                                                                                    bits
                                                                                            one
                       OS
                  interesting
                                                       address
                                                                                            for
                                   valid/invalid
                                                                                     whether
                                          protection
                                                                                                    with
                                                       is
                                                                                page-table
                                                                                     a
                                   bit
                       handler
                  things
                                                                                            write,
                                                                                                    each
                                                                                     page
                                          causes
                                                                                entry
                                                       going
                                                                                            one
                  here,
                                                                                                    page
                                                                     Frame Number
                                                                                     may
                                          h/w
                                                                                may
                                                                                                    –
                                                                                            for
                                   determining
                                                                     K
                                                       through
                                          trap
                                                                                     only
                                                                                look
                                   if
                                                                     R
                                                                                                    kept
                                          to
                                                                                     be
                                                                     W
                                                                                                    in
                                   the
                                                       page
                                                                                like:
                                                                                            execute.
                  particularly
                                                                     X
                                                                     V
                                                                                                    page
                                   page
                  with
                                   is
                                                                                     accessed
                                          operating
                                                                                                    tables
                                                       translation
                  regard
                                                                                     when
                  to
                                          system
                                   mapped
                                                                                                    (and
                                   into
                                          code
                                                       hardware,
                                                                                                    TLB).
                                                                                     executing
                  sharing.
                                   the
                  .
                                                       can
                                                                                     in
                  .
   53
   52   53   54   55   56   57   58   59   60   61   62