From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 31 Jul 2003 18:06:05 +0100 (IST) From: Mel Gorman Subject: Re: Understanding page faults code in mm/memory.c In-Reply-To: Message-ID: References: <20030731111502.GA1591@eugeneteo.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: "Raghu R. Arur" Cc: Eugene Teo , linux-mm@kvack.org List-ID: On Thu, 31 Jul 2003, Raghu R. Arur wrote: > But when you put a page on to the swap cache will not the rss of the > address spage decrease. if not then when will the rss value of the > address space change. > vmscan.c:try_to_swap_out() will decrement the rss before adding it to the swap cache with add_to_swap_cache() -- Mel Gorman -- 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