Commit f74742d3 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] remove stale comments above struct page

From: Christoph Hellwig <hch@lst.de>

struct page easily fits into a single cacheline with any recent CPU, and the
ordering isn't as described anymore anyway.
parent 8a7f19c7
...@@ -189,13 +189,6 @@ typedef unsigned long page_flags_t; ...@@ -189,13 +189,6 @@ typedef unsigned long page_flags_t;
* it to keep track of whatever it is we are using the page for at the * it to keep track of whatever it is we are using the page for at the
* moment. Note that we have no way to track which tasks are using * moment. Note that we have no way to track which tasks are using
* a page. * a page.
*
* Try to keep the most commonly accessed fields in single cache lines
* here (16 bytes or greater). This ordering should be particularly
* beneficial on 32-bit processors.
*
* The first line is data used in page cache lookup, the second line
* is used for linear searches (eg. clock algorithm scans).
*/ */
struct page { struct page {
page_flags_t flags; /* Atomic flags, some possibly page_flags_t flags; /* Atomic flags, some possibly
......
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