Hello

I build my kernel with "CONFIG_HIGHMEM4G=y" option to disable the PAE, choose the 32-bit paging mode.
In the runtime, the CR4 value is 0x0000 06D0, (bit 5 is 0, PAE=0, disabled).

When I execute the code below:

void *ret = kmalloc(sizeof(something), GFP_KERNEL);
pte_t *pte = lookup_address(ret, &level);    // int level

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 ?

Thanks,
HeChuan