•Read/Write flag: This flag contains access rights of the physical pages mapped by the table entry. The R/W flag is either read/write or read. If set to 0, the corresponding page can only be read; otherwise, the corresponding page can be written to or read. The R/W flag affects all physical pages mapped by the table entry. That is, the R/W flag of the page map
•User/Supervisor flag: This flag controls the privilege level that is required to access the page or page table. The U/S flag is either 0, which indicates that the page can be accessed only in kernel mode, or 1, which indicates that it can always be accessed. This flag controls user access to all physical pages mapped by the table entry. That is, the U/S flag of the page map
•No Execute flag: This flag controls the ability to execute code from physical pages mapped by the table entry. When No Execute (NX) is set to 0, code can be executed from the mapped physical pages. Otherwise, when set to one, it prevents code from being executed from the mapped physical pages. This flag controls code execution from all physical pages mapped by the table entry. That is, the NX flag of the page map
In addition to the R/W, U/S, and NX flags of the page entry, access control is also affected by the Write Protect (WP) bit of register CR0. If the write protection is not enabled (Write Protect bit set to 0), a process in kernel mode (CPL 0, 1 or 2) can write any physical page, even if it is marked as
5.5.2.5.7Translation Lookaside Buffers
The AMD Opteron processor includes an address translation cache called the Translation Lookaside Buffer (TLB) to expedite
5.5.3Kernel memory management
A portion of the RAM is permanently assigned to the SLES kernel. This memory stores kernel code and static data. The remaining part of RAM, called dynamic memory, is needed by the processes and the kernel itself.
Kernel memory management is highly improved in the SLES 2.6 kernel. Better memory management capabilities include support for Non Uniform Memory Access (NUMA) servers, Reverse map Virtual Memory (Rmap VM), huge TLBs, and Remap_file_pages. The following sections describe these improvements, and also describe page frame management, memory area management, and noncontiguous memory area management.
123