Re: [PATCH 12/16] x86/mm/pae: Populate the user page-table with user pgd's

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

 



On 01/16/2018 01:10 PM, Thomas Gleixner wrote:
> 
> static inline pteval_t supported_pgd_mask(void)
> {
> 	if (IS_ENABLED(CONFIG_X86_64))
> 		return __supported_pte_mask;
> 	return __supported_pte_mask & ~_PAGE_NX);
> }
> 
> and get rid of the ifdeffery completely.

Heh, that's an entertaining way to do it.  Joerg, if you go do it this
way, it would be nice to add all the other gunk that we don't allow to
be set in the PAE pgd.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux