Re: [PATCH v5] mm: SLAB freelist randomization

2016-04-27 Thread Thomas Garnier
On Wed, Apr 27, 2016 at 12:16 PM, Andrew Morton wrote: > On Wed, 27 Apr 2016 10:20:59 -0700 Thomas Garnier wrote: > >> Provides an optional config (CONFIG_SLAB_FREELIST_RANDOM) to randomize >> the SLAB freelist. > > Forgot this bit? > I thought I

Re: [PATCH v5] mm: SLAB freelist randomization

2016-04-27 Thread Thomas Garnier
On Wed, Apr 27, 2016 at 12:16 PM, Andrew Morton wrote: > On Wed, 27 Apr 2016 10:20:59 -0700 Thomas Garnier wrote: > >> Provides an optional config (CONFIG_SLAB_FREELIST_RANDOM) to randomize >> the SLAB freelist. > > Forgot this bit? > I thought I would change it when we support other kernel

Re: [PATCH v5] mm: SLAB freelist randomization

2016-04-27 Thread Andrew Morton
On Wed, 27 Apr 2016 10:20:59 -0700 Thomas Garnier wrote: > Provides an optional config (CONFIG_SLAB_FREELIST_RANDOM) to randomize > the SLAB freelist. Forgot this bit? From: Andrew Morton Subject: mm-slab-freelist-randomization-v5-fix propagate

Re: [PATCH v5] mm: SLAB freelist randomization

2016-04-27 Thread Andrew Morton
On Wed, 27 Apr 2016 10:20:59 -0700 Thomas Garnier wrote: > Provides an optional config (CONFIG_SLAB_FREELIST_RANDOM) to randomize > the SLAB freelist. Forgot this bit? From: Andrew Morton Subject: mm-slab-freelist-randomization-v5-fix propagate gfp_t into cache_random_seq_create() Cc:

[PATCH v5] mm: SLAB freelist randomization

2016-04-27 Thread Thomas Garnier
Provides an optional config (CONFIG_SLAB_FREELIST_RANDOM) to randomize the SLAB freelist. The list is randomized during initialization of a new set of pages. The order on different freelist sizes is pre-computed at boot for performance. Each kmem_cache has its own randomized freelist. Before

[PATCH v5] mm: SLAB freelist randomization

2016-04-27 Thread Thomas Garnier
Provides an optional config (CONFIG_SLAB_FREELIST_RANDOM) to randomize the SLAB freelist. The list is randomized during initialization of a new set of pages. The order on different freelist sizes is pre-computed at boot for performance. Each kmem_cache has its own randomized freelist. Before