Le 11/07/2013 23:51, David Herrmann a ?crit :
> ->vm_open() isn't called for the first mmap(), afaik (only called
> during fork()s or similar). So the reference in ttm_bo_mmap() is a
> replacement for the reference you take in the ->vm_open() callback.

So the reference is acquired either in ttm_bo_mmap() or in 
ttm_bo_vm_open(), and always released in ttm_bo_vm_close().

Thanks to both of you!

-- 
Jean-S?bastien P?dron

Reply via email to