<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hello<div><br></div><div>I build my kernel with "CONFIG_HIGHMEM4G=y" option to disable the PAE, choose the 32-bit paging mode.</div><div>In the runtime, the CR4 value is 0x0000 06D0, (bit 5 is 0, PAE=0, disabled).</div><div><br></div><div>When I execute the code below:</div><div><br></div><div>void *ret = kmalloc(sizeof(something), GFP_KERNEL);</div><div>pte_t *pte = lookup_address(ret, &amp;level); &nbsp; &nbsp;// int level</div><div><br></div><div>the level value is 2(PG_LEVEL_2M), not the 1(PG_LEVEL_4K). So I think the kernel has used 2 kinds of pages, 4MB size page and 4KB size page. Is that right ?</div><div><br></div><div>Thanks,</div><div>HeChuan</div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>