mmap device-drivers
Manuel Stühn
freebsdnewbie at freenet.de
Tue Mar 14 09:12:17 UTC 2017
Hi,
is it possible for a device driver to keep track if there are still
active mmap() pointers pointing to that device?
Linux does have something like
struct vm_operations_struct vm_ops =
{
.close = vm_close,
};
where vm_close gets called when any mmapped pointer goes out of scope and the
driver can refcount the mappers.
Is there something similar in freebsd?
More information about the freebsd-hackers
mailing list