We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ff748 commit 8cfd014Copy full SHA for 8cfd014
mm/hugetlb.c
@@ -968,9 +968,14 @@ pgoff_t linear_hugepage_index(struct vm_area_struct *vma,
968
}
969
EXPORT_SYMBOL_GPL(linear_hugepage_index);
970
971
-/*
972
- * Return the size of the pages allocated when backing a VMA. In the majority
973
- * cases this will be same size as used by the page table entries.
+/**
+ * vma_kernel_pagesize - Page size granularity for this VMA.
+ * @vma: The user mapping.
974
+ *
975
+ * Folios in this VMA will be aligned to, and at least the size of the
976
+ * number of bytes returned by this function.
977
978
+ * Return: The default size of the folios allocated when backing a VMA.
979
*/
980
unsigned long vma_kernel_pagesize(struct vm_area_struct *vma)
981
{
0 commit comments