shared pages in os code example
Example: shared pages in os
Sharing in Paging Another advantage of paging is the possibility of sharing common code. Reentrant (read- only) code pages of a process address can be shared. If the code is reentrant, it never changes during execution. Thus two or more processes can execute the same code at the same time