[SNIP]
+ /*
+* Make NO_EVICT bos immediately available to
+* shrinkers, now that they are queued for
+* destruction.
+*/
+ if (bo->mem.placement & TTM_PL_FLAG_NO_EVICT) {
+ bo->mem.pl
comments inline
> 2020年2月11日 13:26,Pan, Xinhui 写道:
>
> comments inline.
> [xh]
>
>
>> 2020年2月10日 23:09,Christian König 写道:
>>
>> This patch reworks the whole delayed deletion of BOs which aren't idle.
>>
>> Instead of having two counters for the BO structure we resurrect the BO
>> when we
comments inline.
[xh]
> 2020年2月10日 23:09,Christian König 写道:
>
> This patch reworks the whole delayed deletion of BOs which aren't idle.
>
> Instead of having two counters for the BO structure we resurrect the BO
> when we find that a deleted BO is not idle yet.
>
> This has many advantages,
This patch reworks the whole delayed deletion of BOs which aren't idle.
Instead of having two counters for the BO structure we resurrect the BO
when we find that a deleted BO is not idle yet.
This has many advantages, especially that we don't need to
increment/decrement the BOs reference counter