Re: [PATCH 1/2] drm/ttm: Move swapped objects off the manager's LRU list

2024-09-03 Thread Thomas Hellström
Hi, Christian, Thanks for reviewing. On Tue, 2024-09-03 at 09:49 +0200, Christian König wrote: > Am 02.09.24 um 17:41 schrieb Thomas Hellström: > > Resources of swapped objects remains on the TTM_PL_SYSTEM manager's > > LRU list, which is bad for the LRU walk efficiency. > > > > Rename the devic

Re: [PATCH 1/2] drm/ttm: Move swapped objects off the manager's LRU list

2024-09-03 Thread Christian König
Am 02.09.24 um 17:41 schrieb Thomas Hellström: Resources of swapped objects remains on the TTM_PL_SYSTEM manager's LRU list, which is bad for the LRU walk efficiency. Rename the device-wide "pinned" list to "unevictable" and move also resources of swapped-out objects to that list. An alternativ

[PATCH 1/2] drm/ttm: Move swapped objects off the manager's LRU list

2024-09-02 Thread Thomas Hellström
Resources of swapped objects remains on the TTM_PL_SYSTEM manager's LRU list, which is bad for the LRU walk efficiency. Rename the device-wide "pinned" list to "unevictable" and move also resources of swapped-out objects to that list. An alternative would be to create an "UNEVICTABLE" priority to