Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1659378 > unrolled thread

page table questions

Started bymeng chen <cmhanjey@gmail.com>
First post2017-06-07 07:30 +0200
Last post2017-06-07 07:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  page table questions meng chen <cmhanjey@gmail.com> - 2017-06-07 07:30 +0200

#1659378 — page table questions

Frommeng chen <cmhanjey@gmail.com>
Date2017-06-07 07:30 +0200
Subjectpage table questions
Message-ID<tPBHz-2hD-5@gated-at.bofh.it>
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!!

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web