Re: [PATCH v6 03/12] drm/ttm: Use LRU hitches

2024-07-04 Thread Christian König
Am 03.07.24 um 17:38 schrieb 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. Du

[PATCH v6 03/12] drm/ttm: Use LRU hitches

2024-07-03 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