Re: [PATCH] Fix SLAB freelist randomization duplicate entries

2017-01-06 Thread Thomas Garnier
On Fri, Jan 6, 2017 at 12:42 PM, Andrew Morton wrote: > On Fri, 6 Jan 2017 09:58:48 -0800 Thomas Garnier wrote: > >> On Thu, Jan 5, 2017 at 4:35 PM, Andrew Morton >> wrote: >> > On Tue, 3 Jan 2017 10:19:08 -0800 Thomas

Re: [PATCH] Fix SLAB freelist randomization duplicate entries

2017-01-06 Thread Thomas Garnier
On Fri, Jan 6, 2017 at 12:42 PM, Andrew Morton wrote: > On Fri, 6 Jan 2017 09:58:48 -0800 Thomas Garnier wrote: > >> On Thu, Jan 5, 2017 at 4:35 PM, Andrew Morton >> wrote: >> > On Tue, 3 Jan 2017 10:19:08 -0800 Thomas Garnier >> > wrote: >> > >> >> This patch fixes a bug in the freelist

Re: [PATCH] Fix SLAB freelist randomization duplicate entries

2017-01-06 Thread Andrew Morton
On Fri, 6 Jan 2017 09:58:48 -0800 Thomas Garnier wrote: > On Thu, Jan 5, 2017 at 4:35 PM, Andrew Morton > wrote: > > On Tue, 3 Jan 2017 10:19:08 -0800 Thomas Garnier > > wrote: > > > >> This patch fixes a bug in the

Re: [PATCH] Fix SLAB freelist randomization duplicate entries

2017-01-06 Thread Andrew Morton
On Fri, 6 Jan 2017 09:58:48 -0800 Thomas Garnier wrote: > On Thu, Jan 5, 2017 at 4:35 PM, Andrew Morton > wrote: > > On Tue, 3 Jan 2017 10:19:08 -0800 Thomas Garnier > > wrote: > > > >> This patch fixes a bug in the freelist randomization code. When a high > >> random number is used, the

Re: [PATCH] Fix SLAB freelist randomization duplicate entries

2017-01-06 Thread Thomas Garnier
On Thu, Jan 5, 2017 at 4:35 PM, Andrew Morton wrote: > On Tue, 3 Jan 2017 10:19:08 -0800 Thomas Garnier wrote: > >> This patch fixes a bug in the freelist randomization code. When a high >> random number is used, the freelist will contain

Re: [PATCH] Fix SLAB freelist randomization duplicate entries

2017-01-06 Thread Thomas Garnier
On Thu, Jan 5, 2017 at 4:35 PM, Andrew Morton wrote: > On Tue, 3 Jan 2017 10:19:08 -0800 Thomas Garnier wrote: > >> This patch fixes a bug in the freelist randomization code. When a high >> random number is used, the freelist will contain duplicate entries. It >> will result in different

Re: [PATCH] Fix SLAB freelist randomization duplicate entries

2017-01-05 Thread Andrew Morton
On Tue, 3 Jan 2017 10:19:08 -0800 Thomas Garnier wrote: > This patch fixes a bug in the freelist randomization code. When a high > random number is used, the freelist will contain duplicate entries. It > will result in different allocations sharing the same chunk.

Re: [PATCH] Fix SLAB freelist randomization duplicate entries

2017-01-05 Thread Andrew Morton
On Tue, 3 Jan 2017 10:19:08 -0800 Thomas Garnier wrote: > This patch fixes a bug in the freelist randomization code. When a high > random number is used, the freelist will contain duplicate entries. It > will result in different allocations sharing the same chunk. Important: what are the

[PATCH] Fix SLAB freelist randomization duplicate entries

2017-01-03 Thread Thomas Garnier
This patch fixes a bug in the freelist randomization code. When a high random number is used, the freelist will contain duplicate entries. It will result in different allocations sharing the same chunk. Fixes: c7ce4f60ac19 ("mm: SLAB freelist randomization") Signed-off-by: John Sperbeck

[PATCH] Fix SLAB freelist randomization duplicate entries

2017-01-03 Thread Thomas Garnier
This patch fixes a bug in the freelist randomization code. When a high random number is used, the freelist will contain duplicate entries. It will result in different allocations sharing the same chunk. Fixes: c7ce4f60ac19 ("mm: SLAB freelist randomization") Signed-off-by: John Sperbeck