Hi,

On Mon, 2026-11-23 at 10:35 +1000, Dave Airlie wrote:
> Thanks,
> 
> Pushed to drm-misc-fixes now.
> 
> Dave.

This breaks TTM kunit tests. 
https://lore.kernel.org/r/179551898058.76739.11365088738563088346@9ac1b63fe3ea

Thanks,
Thomas

> 
> On Sun, 22 Nov 2026 at 22:16, Fedor Pchelkin <[email protected]>
> wrote:
> > 
> > Christian König wrote:
> > > On 5/27/26 22:20, Ian Forbes wrote:
> > > > TTM pool was changed from a regular list to an lru list in the
> > > > referenced fixes commit. list_lru_init allocates state and it
> > > > needs to
> > > > be freed unlike a simple list.
> > > > 
> > > > Found using the igt@core_hotunplug and kmemleak.
> > > > 
> > > > Fixes: 444e2a19d7fd ("ttm/pool: port to list_lru. (v2)")
> > > > Signed-off-by: Ian Forbes <[email protected]>
> > > 
> > > Reviewed-by: Christian König <[email protected]>
> > > 
> > > > ---
> > > >  drivers/gpu/drm/ttm/ttm_pool.c | 1 +
> > > >  1 file changed, 1 insertion(+)
> > > > 
> > > > diff --git a/drivers/gpu/drm/ttm/ttm_pool.c
> > > > b/drivers/gpu/drm/ttm/ttm_pool.c
> > > > index 26a3689e5fd9..a41addbf3ddf 100644
> > > > --- a/drivers/gpu/drm/ttm/ttm_pool.c
> > > > +++ b/drivers/gpu/drm/ttm/ttm_pool.c
> > > > @@ -395,6 +395,7 @@ static void ttm_pool_type_fini(struct
> > > > ttm_pool_type *pt)
> > > > 
> > > >     list_lru_walk(&pt->pages, pool_move_to_dispose_list,
> > > > &dispose, LONG_MAX);
> > > >     ttm_pool_dispose_list(pt, &dispose);
> > > > +   list_lru_destroy(&pt->pages);
> > > >  }
> > > > 
> > > >  /* Return the pool_type to use for the given caching and order
> > > > */
> > 
> > The patch probably fell through the cracks.  Can't find it at drm-
> > tip.git.
> > Would you apply this, please?

Reply via email to