Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1705658

Re: [PATCHv3 07/13] x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D variable

From Andi Kleen <ak@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCHv3 07/13] x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D variable
Date 2017-08-07 17:50 +0200
Message-ID <ubSs2-22w-31@gated-at.bofh.it> (permalink)
References <ubR2V-W5-3@gated-at.bofh.it> <ubR2W-W5-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> +#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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCHv3 07/13] x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D variable "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-08-07 16:20 +0200
  Re: [PATCHv3 07/13] x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D  variable Andi Kleen <ak@linux.intel.com> - 2017-08-07 17:50 +0200

csiph-web