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

EOF representation in Windows
How BIOS boot from floppy and CD-ROM differently?
OS Booting Issue
Apply Password to Folder in Directory D:\myFolder
BSD for the NXT
How locks are implemented on multiple cores
boot loader's size
A question about Device drivers & Kernel
What are the factors by which virtual memory is limited?
Hardware supported OS functions
Multicores and mulithreads
default sound for javascript alert() box
What is an Operating System (with respect to embedded systems)? [closed]
Why isn't every OS real-time?
Does disabling interrupt automatically disable CPU scheduling?
Which OS will be the best subsitute for the Microsoft Windows XP/7 [closed]

Categories

HOME
hpoo
google-chrome
opengl
android-studio
azure-functions
verification
couchdb
devexpress
slider
odata
magento-2.0
implicit-conversion
navigation
clone
capistrano
telegraf
hspi
jquery-select2-4
sql-injection
uima
salt-cloud
cpu-usage
parceler
kaggle
liferay-6.2
multi-upload
uislider
intel
xdebug
network-analysis
onchange
sparkle
fusion
universal
gsp
quickcheck
cloudera-manager
adminer
spring-rabbitmq
db2-luw
transform
strapi
assert
reset
suds
hypothesis-test
linq-to-excel
brightscript
cordova-ios
extjs4.1
sigsegv
subforms
android-webservice
line-intersection
portability
test-data
gmaps.js
ndk-build
system.net.mail
seccomp
mathml
eclemma
node.js-connect
android-async-http
swiffy
jsr363
teensy
deeplink
highest
gluon-desktop
apple
ampersand
physicsjs
whitespace-language
gflags
configurable-product
dc
ecos
stripe.net
usb-flash-drive
pbkdf2
virtual-channel
libxml-js
sunstudio
notin
aero
days
background-thread
reentrancy
cmath
dojo-1.9
android-dialog
prefuse
uploading
differentiation
will-paginate
motodev-studio
data-dump
space-partitioning
rtd
tablet-pc
photo-management
jmenu
bass
android-2.1-eclair
cleartype
word-automation

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App