hello ,how to know wheather a pmd maps a 2M physical page or not??
if(pmd_trans_huge(*pmd)){
    if(pte_present(*pmd)){
            /*page is in ram?*/
      }
}

can I judge it according the above codes??
thanks a lot!!

Reply via email to