The commoncap module calls this.
{
return htlbzone_pages * (HPAGE_SIZE / PAGE_SIZE);
}
+EXPORT_SYMBOL(hugetlb_total_pages);
/*
* We cannot handle pagefaults against hugetlb pages at all. They cause
{
return htlbzone_pages * (HPAGE_SIZE / PAGE_SIZE);
}
+EXPORT_SYMBOL(hugetlb_total_pages);
static struct page *hugetlb_nopage(struct vm_area_struct * area, unsigned long address, int *unused)
{
{
return htlbpage_total * (HPAGE_SIZE / PAGE_SIZE);
}
+EXPORT_SYMBOL(hugetlb_total_pages);
/*
* We cannot handle pagefaults against hugetlb pages at all. They cause
{
return htlbzone_pages * (HPAGE_SIZE / PAGE_SIZE);
}
+EXPORT_SYMBOL(hugetlb_total_pages);
/*
* We cannot handle pagefaults against hugetlb pages at all. They cause
{
return htlbzone_pages * (HPAGE_SIZE / PAGE_SIZE);
}
+EXPORT_SYMBOL(hugetlb_total_pages);
/*
* We cannot handle pagefaults against hugetlb pages at all. They cause