operating-system


How page table entry invalidations communicated between processes?


I hava a concern on page fault handling in operating systems.
Say we have two processes A and B running. At some point, a memory access from A causes a page fault. So the OS handles the trap and gets the requested page to the memory and store it in a page frame Y and updates the page table of the process A.
But provided that the process B's page table already has a mapping to the page frame Y, how would the process B identifies that the particular page table entry is invalid ?
The operating system has to keep track of which page frames are mapped. Typically, there will be a list of unmapped page frames that would be used to service the request.
The operating system is not going to simply grab a page frame mapped to one process, then remap it to another process without first invaliding the first page mapping (unless the page frame is to be shared by both processes).

Related Links

How to calculate predicted burst time?
Non-Preemptive multitasking Scheduling Algorithm
Is An Operating System an Process ?
Virtual Memory,Page size,Maximum Virtual Address
Whats the relationship between file system block size and disk space wasted per file
Page fault when trying to access VESA LFB with paging enabled
ROS Operating system services ? How?
Where do driver developers get hardware specifications?
What is the difference between standalone and desktop application?
Memory mapped IO - who maps the addresses to the physical address space?
Round Robin Scheduling with arrival time and priority level
What's the best language to start write OS
How exactly does a program talk to a device driver?
What is a multi-rate non preemptive OS?
Finding TLB size with a program?
Calculating Size of a Page Table

Categories

HOME
cocoapods
visual-studio
extjs
powerbi
typelite
stacktrace.js
website
typeerror
magento-2.0
ontology
scheduler
cocotb
roku
heuristics
locationmanager
getopenfilename
cname
stimulsoft
global-variables
vmware-workstation
reselect
rest-assured
pygobject
vertica
hidden
liferay-6.2
acl
unordered-multimap
python-appium
openbravo
social-networking
splunk-query
locks
snap-framework
epplus
universal
char-pointer
cartopy
widestring
angular-datatables
nomad
aurelia-fetch-client
google-news
patternlab.io
msxml
word-2016
openerp-6
finder
tablespace
seccomp
msbuild-4.0
declarative
distributed-cache
wikimedia-commons
boost-proto
kefir.js
actionpack
subview
sql-processor
hp-idol-ondemand
n-tier-architecture
back
object-code
mobile-country-code
osascript
full-text-indexing
lumia-imaging-sdk
tabletools
proxy-server
flv
jbox2d
mkannotation
netstream
wcf-callbacks
memory-pool
dip
uninstaller
asdoc
aspbutton
synthesizer

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App