linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* page table questions
@ 2017-06-07  5:24 meng chen
  0 siblings, 0 replies; only message in thread
From: meng chen @ 2017-06-07  5:24 UTC (permalink / raw)
  To: linux 内核邮件列表

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!!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-07  5:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-07  5:24 page table questions meng chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).