1

I'm reading a tutorial about Linux page table, in the linked page

Each process has its own page tables (threads share them). The pgd field of the memory descriptor points to the process's page global directory. Manipulating and traversing page tables requires the page_table_lock, which is located inside the associated memory descriptor.

So what is a page_table_lock? Is it some kind of reader-writer lock to prevent race condition?

  • 1
    read this - it used to be a spin lock (simple mutual exclusion - no read-writer), but it is now more complicated. – Murray Jensen Dec 28 '18 at 14:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.