Re: [Intel-gfx] [PATCH 04/39] drm/i915/gt: Clear the buffer pool age before use

2020-08-26 Thread Matthew Auld
On Wed, 26 Aug 2020 at 14:28, Chris Wilson wrote: > > If we create a new node, it is possible for the slab allocator to return > us a recently freed node. If that node was just retired, it will retain > the current jiffy as its node->age. There is then a miniscule window, > where as that node is

[Intel-gfx] [PATCH 04/39] drm/i915/gt: Clear the buffer pool age before use

2020-08-26 Thread Chris Wilson
If we create a new node, it is possible for the slab allocator to return us a recently freed node. If that node was just retired, it will retain the current jiffy as its node->age. There is then a miniscule window, where as that node is retired, it will appear on the free list with an incorrect