Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1659378
| From | meng chen <cmhanjey@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | page table questions |
| Date | 2017-06-07 07:30 +0200 |
| Message-ID | <tPBHz-2hD-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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!!
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
page table questions meng chen <cmhanjey@gmail.com> - 2017-06-07 07:30 +0200
csiph-web