From: Mel Gorman <mel@csn.ul.ie>
To: "Raghu R. Arur" <rra2002@aria.ncl.cs.columbia.edu>
Cc: Eugene Teo <eugene.teo@eugeneteo.net>, linux-mm@kvack.org
Subject: Re: Understanding page faults code in mm/memory.c
Date: Thu, 31 Jul 2003 19:20:51 +0100 (IST) [thread overview]
Message-ID: <Pine.LNX.4.53.0307311916580.22434@skynet> (raw)
In-Reply-To: <Pine.GSO.4.51.0307311308450.8932@aria.ncl.cs.columbia.edu>
On Thu, 31 Jul 2003, Raghu R. Arur wrote:
>
> No, what i meant was, if the rss value gets decremented when a page is
> put into swap cache, then why is it not incremented in do_wp_page when you
> fault for a page inside swap cache.
Because paging in from the swap cache is handled by do_swap_page() which
does increment rss, not do_wp_page().
--
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: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
prev parent reply other threads:[~2003-07-31 18:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-31 11:15 Eugene Teo
2003-07-31 11:47 ` Mel Gorman
2003-07-31 16:12 ` Raghu R. Arur
2003-07-31 17:06 ` Mel Gorman
2003-07-31 17:11 ` Raghu R. Arur
2003-07-31 18:20 ` Mel Gorman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.53.0307311916580.22434@skynet \
--to=mel@csn.ul.ie \
--cc=eugene.teo@eugeneteo.net \
--cc=linux-mm@kvack.org \
--cc=rra2002@aria.ncl.cs.columbia.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox