Re: Need a pair decrement for fence's refcount if ttm_bo_add_move_fence failed?

2019-04-09 Thread Koenig, Christian
Am 09.04.19 um 10:21 schrieb 易林: > > > >> Am 07.04.19 um 13:44 schrieb 易林: >>> Hi, all: >>> when analyzing v5.1 source code, I notice that in >>> ttm_bo_add_move_fence, >>> when reservation_object_reserve_shared failed and return ENOMEM, >>> the fence's refcount increased without a pair

Re: Re: Need a pair decrement for fence's refcount if ttm_bo_add_move_fence failed?

2019-04-09 Thread 易林
> Am 07.04.19 um 13:44 schrieb 易林: > > Hi, all: > > when analyzing v5.1 source code, I notice that in > > ttm_bo_add_move_fence, > > when reservation_object_reserve_shared failed and return ENOMEM, > > the fence's refcount increased without a pair decrement even after return > > to

Re: Need a pair decrement for fence's refcount if ttm_bo_add_move_fence failed?

2019-04-08 Thread Koenig, Christian
Am 07.04.19 um 13:44 schrieb 易林: > Hi, all: > when analyzing v5.1 source code, I notice that in ttm_bo_add_move_fence, > when reservation_object_reserve_shared failed and return ENOMEM, > the fence's refcount increased without a pair decrement even after return to > ttm_bo_add_move_fence's