So here is the question I need help with :
2. Processes share physical page frames by copying them to each process, with each shared page counted against the RSS (Resident Set Size) value of the original process.
3. Processes share physical page frames by duplicating them in the kernel space, with each shared page counted against the RSS (Resident Set Size) value of the first process to use it.
4. Processes share physical page frames by creating a reference count for each shared page, with the RSS (Resident Set Size) value of each process that uses it incremented by the reference count.
I think option 4 is most appropriate here :
The number of mappings a page has is kept in a field in the struct page structure that represents that page. It is incremented each time a new mapping is created, and decremented when a mapping disappears.
But I dont think my assertion matches with the course description in ch08 :
What do you think ?
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.