From 59267a5d4f781888d31c61b4c5b5fd7460b5612b Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 26 Jun 2014 10:42:35 +1000 Subject: [PATCH] mm-hugetlbfs-fix-rmapping-for-anonymous-hugepages-with-page_pgoff-v3-fix tweak code comment Cc: Naoya Horiguchi Cc: Rik van Riel Cc: Sasha Levin Signed-off-by: Andrew Morton --- include/linux/pagemap.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 54cb1eb98355..c74f8bbef87a 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -412,16 +412,16 @@ static inline loff_t page_file_offset(struct page *page) } /* - * Getting page order of a given page in the context of the pagecache which - * each page belongs to. + * Get the order of a given page in the context of the pagecache which it + * belongs to. * - * Pagecache unit size is not a fixed value (hugetlbfs is an example), but - * vma_interval_tree and anon_vma_internval_tree APIs assume that its indices - * are in PAGE_SIZE unit. So this routine helps us to get normalized indices. + * Pagecache unit size is not a fixed value (hugetlbfs is an example), but the + * vma_interval_tree and anon_vma_interval_tree APIs assume that indices are in + * PAGE_SIZE units. So this function helps us to get normalized indices. * - * This page should be called only for pagecache pages/hugepages and anonymous - * pages/hugepages, because pagecache unit size is irrelevant except for those - * pages. + * page_size_order() should be called only for pagecache pages/hugepages and + * anonymous pages/hugepages, because pagecache unit size is irrelevant except + * for those pages. */ static inline unsigned int page_size_order(struct page *page) { -- 2.39.5