Commit 04e469df authored by Hugh Dickins's avatar Hugh Dickins Committed by Linus Torvalds

[PATCH] add_to_page_cache comments

Remove two layers of the fossil record from comments on add_to_page_cache:
2.6.6 moves swapcache handling away, and we long ago stopped masking flags.
parent 8c0459dc
...@@ -240,12 +240,6 @@ int filemap_write_and_wait(struct address_space *mapping) ...@@ -240,12 +240,6 @@ int filemap_write_and_wait(struct address_space *mapping)
} }
/* /*
* This adds a page to the page cache, starting out as locked, unreferenced,
* not uptodate and with no errors.
*
* This function is used for two things: adding newly allocated pagecache
* pages and for moving existing anon pages into swapcache.
*
* This function is used to add newly allocated pagecache pages: * This function is used to add newly allocated pagecache pages:
* the page is new, so we can just run SetPageLocked() against it. * the page is new, so we can just run SetPageLocked() against it.
* The other page state flags were set by rmqueue(). * The other page state flags were set by rmqueue().
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment