Re: [PATCH] mm/slub.c: re-randomize random_seq if necessary
From: Matthew Wilcox
Date: Wed Jan 09 2019 - 07:14:04 EST
On Wed, Jan 09, 2019 at 05:06:27PM +0800, Peng Wang wrote:
> calculate_sizes() could be called in several places
> like (red_zone/poison/order/store_user)_store() while
> random_seq remains unchanged.
>
> If random_seq is not NULL in calculate_sizes(), re-randomize it.
Why do we want to re-randomise the slab at these points?