![]() | |||||||||||||
Messages in this thread |
On Sun, 25 Sep 2005, Andrew Morton wrote: > > mmap(MAP_ANONYMOUS|MAP_SHARED) > fork() > swapout > swapin > swapoff > > Now we have two mm's sharing a clean, non-cowable, non-swapcache anonymous > page, no? No, MAP_ANONYMOUS|MAP_SHARED gives you a tmpfs object via shmem_zero_setup: all those pages are shared file pages, not PageAnon at all. Hugh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-09-26 07:23 [W:1.337 / U:0.570 seconds] ©2003-2008 Jasper Spaans | |||||||||||||