linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "manjunath k" <kmanjunat@gmail.com>
To: linux-mm@kvack.org
Subject: Dirty pages changes in linux-2.6
Date: Thu, 31 May 2007 19:11:14 +0530	[thread overview]
Message-ID: <2c09dd780705310641j34f5d8b9ga70c02d2c93852c8@mail.gmail.com> (raw)

Hi,

 Ive been working on some of the proc filesystem
codes and found that the dirty pages list present in
the struct address_space is being removed from the
linux-2.6 kernel version by the patch

"stop-using-the-address_space-dirty_pages-list.patch"

@@ -327,7 +327,6 @@ struct address_space {
 	struct radix_tree_root	page_tree;	/* radix tree of all pages */
 	spinlock_t		tree_lock;	/* and spinlock protecting it */
 	struct list_head	clean_pages;	/* list of clean pages */
-	struct list_head	dirty_pages;	/* list of dirty pages */
 	struct list_head	locked_pages;	/* list of locked pages */
 	struct list_head	io_pages;	/* being prepared for I/O */
 	unsigned long		nrpages;	/* number of total pages */

And ive also noticed that the /proc/pid/statm output displays
the dirty page count as 0.
Eg :
cat /proc/self/statm
1207 100 833 3 0 371 0

My perception is that it is because of the changes in the above mentioned
patch the dirty page count is 0 in linux-2.6.

Please give me some information regarding the same.

-Thanks

--
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:"dont@kvack.org"> email@kvack.org </a>

                 reply	other threads:[~2007-05-31 13:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2c09dd780705310641j34f5d8b9ga70c02d2c93852c8@mail.gmail.com \
    --to=kmanjunat@gmail.com \
    --cc=linux-mm@kvack.org \
    /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