lkml.org 
[lkml]   [2017]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv3 07/13] x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D variable
> +#ifdef CONFIG_X86_5LEVEL
> +unsigned int pgdir_shift = 48;
> +unsigned int ptrs_per_p4d = 512;

should be both __read_mostly

> +#ifdef CONFIG_X86_5LEVEL
> +unsigned int pgdir_shift = 48;
> +EXPORT_SYMBOL(pgdir_shift);
> +unsigned int ptrs_per_p4d = 512;
> +EXPORT_SYMBOL(ptrs_per_p4d);
> +#endif

Same.

-Andi

\
 
 \ /
  Last update: 2017-08-07 17:49    [W:0.064 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site