Re: one question about pgd allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"liyu@WAN" <[email protected]> writes:
> 
>     I can not understand this. I search intel developer mannal. but
> nothing to help.
> Who can tell me why?

bit 0 is the present bit which needs to be set on the PGD, otherwise
the CPU will ignore it. A clearer way to write this would have been

        __pgd(__pa(pmd) | _PAGE_PRESENT)

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux