svn commit: r248060 - in head/sys/dev/drm2: . ttm

Jean-Sébastien Pédron dumbbell at FreeBSD.org
Mon Mar 11 09:03:16 UTC 2013


Hi Eitan!

On 08.03.2013 19:14, Eitan Adler wrote:
> On 8 March 2013 13:11, Jean-Sebastien Pedron <dumbbell at freebsd.org> wrote:
>> @@ -125,8 +125,6 @@ static ssize_t ttm_mem_zone_store(struct
>>
>>  static void ttm_mem_global_kobj_release(struct ttm_mem_global *glob)
>>  {
>> -
>> -       free(glob, M_TTM_ZONE);
>>  }
> 
> Can this function now be removed, because it appears to be empty?

I guess we could get rid of the reference counting too, because we
already have a refcount in the struct drm_global_reference containing
struct ttm_mem_global or struct ttm_bo_global. This needs further
investigation though.

Konstantin, what do you think about this?

-- 
Jean-Sébastien Pédron

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20130311/6e5c06f4/attachment.sig>


More information about the svn-src-all mailing list