The Gateway to Computer Science Excellence
+1 vote
37 views
Is it possible for a process to have two working sets, one representing data and another representing code ? Explain.
in Operating System by Boss | 37 views

1 Answer

0 votes

"Working Set" is a term associated with Virtual Memory Management in Operating systems, however it is an abstract idea.

A working set is just the concept that there is a set of virtual memory pages that the application is currently working with and that there are other pages it isn't working with. Any page that is being currently used by the application is by definition part of the 'Working Set', so its impossible to have two.

Operating systems often do distinguish between code and data in a process using various page permissions and memory protection but this is a different concept than a "Working set"

Ref: https://stackoverflow.com/questions/2815381/possible-to-have-two-working-sets-1-data-2-code

by Boss

Related questions

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
52,223 questions
59,811 answers
201,020 comments
118,087 users