GATE CSE
First time here? Checkout the FAQ!
x
+1 vote
58 views
  • what is the mode used when page tables of a process are loaded and modified?--KERNEL /USER?
  • are page tables of the process also stored in process control block??
asked in Operating System by Veteran (14.8k points) 15 152 316 | 58 views

@akriti, when page tables are first loaded than that hsould be in kernal mode as Dispacther is responsible for loading a p/c with its content and Dispatcher is called by Kernal mode to execute as far as i know. when talking about modification in page table than a p/c while executing itself can modify it's table. so there should not be Kernal mode in this. Not sure about point 2 though.

2nd ques.. that page table are stored in PCB. nope whole page table is not stored in PCb.there is Memory management information in PCB : includes the information of page table, memory limits, Segment table depending on memory used by the operating system.

for 2nd ques. of yours , source is wikipidia. https://en.wikipedia.org/wiki/Process_control_block

@mohit,i read in galvin that we need priviledged instruction to modify the page tables..

and thanks for he link
and also,can you give some good link regarding which operations are done in kernel mode and user mode..

system calls are perfomed in kernel mode right??

yes @akriti, you are right about 2nd part. and priviledged  inst. are done in kernal mode. it is clearly given in the answer in this link.  I guess, we can trust stackoverflow :) http://stackoverflow.com/questions/35592339/can-you-modify-your-own-page-tables-os-related

alright..and any good link for various operations in user mode and kernel mode?

and also while switchinf from user mode to kernel mode,which system call or instruction is used and vice-versa

@akriti, first try to find it by yourself, it is a good habit and moreover i mostly rely on wikipedia n stackoverflow.so i guess this is the link you need i guess http://stackoverflow.com/questions/1311402/differences-between-user-and-kernel-modes . hope it helps.  no offence though.

thanks @mohit:-)

Please log in or register to answer this question.



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Top Users Oct 2017
  1. Arjun

    23462 Points

  2. Bikram

    17108 Points

  3. Habibkhan

    8560 Points

  4. srestha

    6314 Points

  5. Debashish Deka

    5458 Points

  6. jothee

    5038 Points

  7. Sachin Mittal 1

    4882 Points

  8. joshi_nitish

    4416 Points

  9. sushmita

    3996 Points

  10. Rishi yadav

    3868 Points


Recent Badges

Notable Question Sanjay Sharma
Notable Question Warrior
Notable Question sid1221
Nice Answer 2018
Good Question Arjun
Nice Question mitalitak
Great Question Arjun
Popular Question Tesla!
Nice Question makhdoom ghaya
Popular Question Sankaranarayanan P.N
27,348 questions
35,204 answers
84,249 comments
33,328 users