[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why don't shared anonymous mappings work?
Take a page map it into two processes.
Swap the page out from both processes to disk.
The swap address is now in the pte's.
Bring that page into process 1.
Dirty the page, thus causing a new swap entry to be allocated.
( The write once rule)
Swap the page out of process 1.
Oops process 1 and process 2 have different pte's for the same
page.
Since we don't have any form of reverse page table entry
preventing that last case is difficult to do effciently.
Eric
--
This is a majordomo managed list. To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org