[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mm
Subject: Dirty pages changes in linux-2.6
From: "manjunath k" <kmanjunat () gmail ! com>
Date: 2007-05-31 13:53:14
Message-ID: 2c09dd780705310641j34f5d8b9ga70c02d2c93852c8 () mail ! gmail ! com
[Download RAW message or body]
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>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic