lkml.org 
[lkml]   [2015]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm/x86: AMD Bulldozer ASLR fix

* Hector Marco-Gisbert <hecmargi@upv.es> wrote:

> A bug in Linux ASLR implementation which affects some AMD processors
> has been found. The issue affects to all Linux process even if they
> are not using shared libraries (statically compiled).

It's not a bug, it's a feature: to work around a Bulldozer cache
aliasing performance problem we have to keep bits 12,13,14 equal for
all mappings in the system.

Your patch improves upon that fix: by per-boot randomizing the
constant portion of the randomized range.

Btw., does anyone know how relevant the performance fix is these days?
A simpler improvement would be to remove the workaround altogether and
recover proper randomization of bits 12,13,14.

Thanks,

Ingo


\
 
 \ /
  Last update: 2015-03-27 14:01    [W:0.111 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site