Re: [PATCH v8 1/7] mm: Add per-cpu logic to page shuffling

2019-09-06 Thread Dan Williams
On Fri, Sep 6, 2019 at 7:53 AM Alexander Duyck wrote: > > From: Alexander Duyck > > Change the logic used to generate randomness in the suffle path so that we > can avoid cache line bouncing. The previous logic was sharing the offset > and entropy word between all CPUs. As such this can result

[PATCH v8 1/7] mm: Add per-cpu logic to page shuffling

2019-09-06 Thread Alexander Duyck
From: Alexander Duyck Change the logic used to generate randomness in the suffle path so that we can avoid cache line bouncing. The previous logic was sharing the offset and entropy word between all CPUs. As such this can result in cache line bouncing and will ultimately hurt performance when