aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>2005-09-21 12:55:38 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-21 13:11:55 -0400
commit7e871b6c8f1f4fda41e51ef86147facecac3be9f (patch)
treed03c9af90786ea7fa8f5e77ce1e71437ab7de4df /include/linux/mm.h
parentf875a1a6650edce859bd21051a22e1c27ac7ea63 (diff)
[PATCH] mm: update stale comment for removal of page->list
Update comment for the 2.6.6-rc1 conversion from page->list and address_space->{clean,dirty,locked}_pages to radix tree tagging and ->lru. I've mostly avoided to mention page lists (at least I've shortened the comment). Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Acked-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 82d7024f0765..0d94c94d9d81 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -350,7 +350,8 @@ static inline void put_page(struct page *page)
350 * only one copy in memory, at most, normally. 350 * only one copy in memory, at most, normally.
351 * 351 *
352 * For the non-reserved pages, page_count(page) denotes a reference count. 352 * For the non-reserved pages, page_count(page) denotes a reference count.
353 * page_count() == 0 means the page is free. 353 * page_count() == 0 means the page is free. page->lru is then used for
354 * freelist management in the buddy allocator.
354 * page_count() == 1 means the page is used for exactly one purpose 355 * page_count() == 1 means the page is used for exactly one purpose
355 * (e.g. a private data page of one process). 356 * (e.g. a private data page of one process).
356 * 357 *
@@ -376,10 +377,8 @@ static inline void put_page(struct page *page)
376 * attaches, plus 1 if `private' contains something, plus one for 377 * attaches, plus 1 if `private' contains something, plus one for
377 * the page cache itself. 378 * the page cache itself.
378 * 379 *
379 * All pages belonging to an inode are in these doubly linked lists: 380 * Instead of keeping dirty/clean pages in per address-space lists, we instead
380 * mapping->clean_pages, mapping->dirty_pages and mapping->locked_pages; 381 * now tag pages as dirty/under writeback in the radix tree.
381 * using the page->list list_head. These fields are also used for
382 * freelist managemet (when page_count()==0).
383 * 382 *
384 * There is also a per-mapping radix tree mapping index to the page 383 * There is also a per-mapping radix tree mapping index to the page
385 * in memory if present. The tree is rooted at mapping->root. 384 * in memory if present. The tree is rooted at mapping->root.