Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7698703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:18:15+00:00 2026-05-31T22:18:15+00:00

When there is a process switch, and the page tables and page directory of

  • 0

When there is a process switch, and the page tables and page directory of the new process has to be used, from where does the kernel come to know about the location of the page directory for the new process ?

I know that the page directory of the new process is stored in physical memory. But how does the kernel know where to find it ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:18:17+00:00Added an answer on May 31, 2026 at 10:18 pm

    Generally a kernel keeps a structure of state describing each process on the system. Somewhere in that structure there will be the address of the process’s ‘root’ page table. On x86 machines this needs to be stored in the CR3 register to switch to a new page table. Sometimes this register is implicitly saved and restored as a side-effect of a larger operation that saves/restores a bunch of CPU state, or sometimes this value is explicitly managed by the kernel.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my web application there is a process that queries data from all over
There are various ways of exiting a process: e.g.: ExitProcess, ExitThread (from the main
Is there a package to process command-line options in R? I know commandArgs ,
There is alot of talk at the moment about NoSQL from my understanding Mongodb
Is there a way to exclude some files from the compilation process? Or even
I'm trying to spawn a new process from my C++-project using fork-exec. I'm using
Does anyone know why there is some hesitation when you hold down a keyboard
all, Is there any approach or tools to show the process of thread switch,
Is there a way to switch an existing user's process (that's running as user
Is there a simple process in SQL 2005 for spitting all of my stored

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.