From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 3 Sep 2003 10:24:32 -0400 (EDT) From: "Raghu R. Arur" Subject: removing clean anonymous pages Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: kernelnewbies@nl.linux.org Cc: linux-mm@kvack.org List-ID: Hi, I see in try_to_swap_out() (linux 2.4.19), that when we remove a clean anonymous page, we clear the pte entries. So when a page is swapped out to the disk and then brought back to the memory. If that page is again selected for removal during page replacement, then if we just clear the pte entries wont we be losing the data. I think I have understood it wrong. Can you please try to explain me this. Thanks, Raghu -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org