diff options
author | Wang Sheng-Hui <shhuiw@gmail.com> | 2011-11-17 10:53:50 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-11-17 10:53:50 +0100 |
commit | 6416b9fa43537c01098f8faa5bcbebb4a275297d (patch) | |
tree | c970bac752f8ea0e0faa4273b459b2ae67d05c4d /mm | |
parent | spi: drop "select SPI_MASTER_OF" (diff) | |
download | linux-6416b9fa43537c01098f8faa5bcbebb4a275297d.tar.xz linux-6416b9fa43537c01098f8faa5bcbebb4a275297d.zip |
mm: cleanup the comment for head/tail pages of compound pages in mm/page_alloc.c
Only tail pages point at the head page using their ->first_page fields.
Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 9dd443d89d8b..e51802d7c8ff 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -333,8 +333,8 @@ out: * * The remaining PAGE_SIZE pages are called "tail pages". * - * All pages have PG_compound set. All pages have their ->private pointing at - * the head page (even the head page has this). + * All pages have PG_compound set. All tail pages have their ->first_page + * pointing at the head page. * * The first tail page's ->lru.next holds the address of the compound page's * put_page() function. Its ->lru.prev holds the order of allocation. |