]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-hugetlbfs-fix-rmapping-for-anonymous-hugepages-with-page_pgoff-v3-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 26 Jun 2014 00:42:35 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:35 +0000 (10:42 +1000)
tweak code comment

Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pagemap.h

index 54cb1eb98355797699369ce66c935c3978ab3a70..c74f8bbef87addeccb63f09f9afe5ab3270649a3 100644 (file)
@@ -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)
 {