I study the Windows kernel and windbg ( along the way). And I found the !vtop command on msdn - which translates the virtual address of the current co ...
I study the Windows kernel and windbg ( along the way). And I found the !vtop command on msdn - which translates the virtual address of the current co ...
I have been given a page table for a system with 12-bit virtual ad physical addresses and 256-byte pages. Say I am given an virtual address (in hexad ...
I'm asked to make a Page Table inside Memory under these conditions. We have 16 bits Virtual Address Memory size is 512 words page size is 128 ...
There are the words in linux/Documentation/x86/x86_64/5level-paging.rst Original x86-64 was limited by 4-level paging to 256 TiB of virtual addres ...
The method mprotect have a PROT_NONE option to disable memory access. It means "The memory cannot be accessed at all" I wonder how it is implemented ...
I'm having some hard time understanding PAE. I know it creates a 3rd level of indirection via the PDPT, so that the address translation goes from CR3 ...
Does virt_to_pfn checks whether the page table is present or not. Below is the code which is failing with page fault. Fails with the below error: ...
I'm trying to loop through all pages for a process in xv6. I've looked at this diagram to understand how it works: but my code is getting: Code: ...
I am looking for a way to split the kernel's huge page (2MiB) mappings into the smaller (4KiB) page table entries. So far, I only encountered the func ...
TLDR; How exactly does the kernel is able to do dirty page accounting in /proc/$PID/maps. Consider the following program statement in C static char ...
I'm trying to understand how OS does the swapping between the disk and RAM when a page fault occurs. For instance, assume the page table of a process ...
Why are entries in the Page Global Directory offset? What is the significance of the offset, if any? Page Global Directory Address ...
I am currently learning the kernel page table initialization process in Linux. As I am reading the codes, I found out that there is a function pagetab ...
When a program calls mmap to allocate an anonymous page, also known as a demand-zero page, what appears in the address field of the corresponding page ...
I have a question: if a context switch occurs, why the page table of the new process has to be reloaded? ...
I'm trying to implement x86 page tables/page directories in C++ and I would like to be able to construct these at compile time. In order to do this I ...
While reading about demand paging, I can see it mentioned in several sources (e.g. http://www.expertsmind.com/questions/name-the-hardware-to-support-d ...
I am recently studying Linux kernel and I have a question regarding how user process's page table is first updated by the kernel. Let's consider X86 a ...
I am writing a small x86-64 kernel booted with UEFI. I think there is something I overlook in the code and I can't figure out what it is. I am trying ...
(In 2-Level Paging) If so: Does every process have multiple Page Tables? If not: How is it ensured that a process doesn't point to a Page Directory ...