A system uses linear page tables and has the following parameters: Address Space size: 32KB Physical Memory size: 64KB Page size: 4KB A process that is currently running on the system has the following page table base register and page table as shown below. Note, only 5 bits of every PTE are shown. The full size of a PTE is 1 byte. PTBR: 0x2004 The process’s instructions and virtual addresses are: 0x0000 movl 0x1100, %edi (load x)0x0008 addl $0x1, %edi (add 1)0x000C movl %edi, 0x1100 (store x)
Blog
For the same address space size, having smaller pages means…
For the same address space size, having smaller pages means you will have smaller page tables.
When prog is executed how many times will the number 3 be pr…
When prog is executed how many times will the number 3 be printed?
What is the largest VA for this process that will not cause…
What is the largest VA for this process that will not cause any faults and be in the heap segment?
A page table entry holds the virtual page number for a given…
A page table entry holds the virtual page number for a given physical page.
Virtual Addressing using Segmentation
Virtual Addressing using Segmentation
On the same system, how many pages are there in the virtual…
On the same system, how many pages are there in the virtual address space of a process?
The portion of trap.h and syscall.h files for xv6 are shown…
The portion of trap.h and syscall.h files for xv6 are shown in the table below.
What will be the first TLB hit with the same TLB size and re…
What will be the first TLB hit with the same TLB size and replacement policy as before?
Convert the VA 0x7011 to its PA.
Convert the VA 0x7011 to its PA.