From 9f941a9547cac52f8b68ffd556731727fef62082 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 22 May 2014 10:42:39 +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 3510155057a2..d4acafc51949 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -317,16 +317,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