linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Dirty pages changes in linux-2.6
@ 2007-05-31 13:41 manjunath k
  0 siblings, 0 replies; only message in thread
From: manjunath k @ 2007-05-31 13:41 UTC (permalink / raw)
  To: linux-mm

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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-31 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-31 13:41 Dirty pages changes in linux-2.6 manjunath k

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox