Re: [PATCH v3 03/21] drm/ttm: Use LRU hitches

2024-05-21 Thread Matthew Brost
On Tue, May 21, 2024 at 09:16:21AM +0200, Thomas Hellström wrote: > Have iterators insert themselves into the list they are iterating > over using hitch list nodes. Since only the iterator owner > can remove these list nodes from the list, it's safe to unlock > the list and when continuing, use the

[PATCH v3 03/21] drm/ttm: Use LRU hitches

2024-05-21 Thread Thomas Hellström
Have iterators insert themselves into the list they are iterating over using hitch list nodes. Since only the iterator owner can remove these list nodes from the list, it's safe to unlock the list and when continuing, use them as a starting point. Due to the way LRU bumping works in TTM, newly adde