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


Groups > linux.kernel > #1392543

Re: [PATCH v2 3/4] x86, boot: Implement ASLR for kernel memory sections (x86_64)

From Dave Hansen <dave.hansen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 3/4] x86, boot: Implement ASLR for kernel memory sections (x86_64)
Date 2016-05-03 00:10 +0200
Message-ID <ruucq-3Fl-3@gated-at.bofh.it> (permalink)
References <rutT4-3cr-9@gated-at.bofh.it> <rutT5-3cr-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/02/2016 02:41 PM, Thomas Garnier wrote:
> -#define __PAGE_OFFSET           _AC(0xffff880000000000, UL)
> +#define __PAGE_OFFSET_BASE      _AC(0xffff880000000000, UL)
> +#ifdef CONFIG_RANDOMIZE_MEMORY
> +#define __PAGE_OFFSET           page_offset_base
> +#else
> +#define __PAGE_OFFSET           __PAGE_OFFSET_BASE
> +#endif /* CONFIG_RANDOMIZE_MEMORY */

Do you have any data about the performance impact of this change?  It's
not necessary to have it to merge something like this, I'm just curious
how bad it is.

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


Thread

[PATCH v2 3/4] x86, boot: Implement ASLR for kernel memory sections (x86_64) Thomas Garnier <thgarnie@google.com> - 2016-05-02 23:50 +0200
  Re: [PATCH v2 3/4] x86, boot: Implement ASLR for kernel memory  sections (x86_64) Dave Hansen <dave.hansen@linux.intel.com> - 2016-05-03 00:10 +0200
    Re: [PATCH v2 3/4] x86, boot: Implement ASLR for kernel memory  sections (x86_64) Thomas Garnier <thgarnie@google.com> - 2016-05-03 21:20 +0200

csiph-web