On Wed, 26 Aug 2020 at 14:28, Chris Wilson <ch...@chris-wilson.co.uk> 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 retired, it will appear on the free list with an > incorrect age and be eligible for reuse by one thread, and then by a > second thread as the correct node->age is written. > > Fixes: 8080ffd81600 ("drm/i915/gt: Delay taking the spinlock for grabbing > from the buffer pool") > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.a...@intel.com> _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
- [Intel-gfx] [PATCH 24/39] drm/i915/gt: Decouple completed re... Chris Wilson
- [Intel-gfx] [PATCH 35/39] drm/i915: Encode fence specific wa... Chris Wilson
- [Intel-gfx] [PATCH 19/39] drm/i915/gt: Don't cancel the inte... Chris Wilson
- [Intel-gfx] [PATCH 09/39] drm/i915/gem: Hold request referen... Chris Wilson
- [Intel-gfx] [PATCH 21/39] drm/i915/gt: Protect context lifet... Chris Wilson
- [Intel-gfx] [PATCH 12/39] drm/i915/gem: Always test executio... Chris Wilson
- [Intel-gfx] [PATCH 34/39] drm/i915/gt: Simplify virtual engi... Chris Wilson
- [Intel-gfx] [PATCH 32/39] drm/i915/gt: Shrink the critical s... Chris Wilson
- [Intel-gfx] [PATCH 13/39] drm/i915/gt: Signal cancelled requ... Chris Wilson
- [Intel-gfx] [PATCH 04/39] drm/i915/gt: Clear the buffer pool... Chris Wilson
- Re: [Intel-gfx] [PATCH 04/39] drm/i915/gt: Clear the bu... Matthew Auld
- [Intel-gfx] [PATCH 14/39] drm/i915/selftests: Finish pending... Chris Wilson
- [Intel-gfx] [PATCH 06/39] drm/i915/gt: Wait for CSB entries ... Chris Wilson
- [Intel-gfx] [PATCH 25/39] drm/i915/gt: Check for a completed... Chris Wilson
- [Intel-gfx] [PATCH 02/39] drm/i915/gem: Use set_pte_at() for... Chris Wilson
- [Intel-gfx] [PATCH 26/39] drm/i915/gt: Replace direct submit... Chris Wilson
- [Intel-gfx] [PATCH 22/39] drm/i915/gt: Split the breadcrumb ... Chris Wilson
- [Intel-gfx] [PATCH 07/39] drm/i915/gt: Apply the CSB w/a for... Chris Wilson