How to best overload the fileops ?

Yuri yuri at rawbw.com
Wed Aug 21 23:53:07 UTC 2013


On 08/21/2013 16:21, John-Mark Gurney wrote:
> How did this memory get allocated in the first place?  Why does it need
> to be free'd in fo_close and not another location?

It is allocated by the epoll module right after kqueue object is created 
and is attached to the opaque field in the file object.
And it should be deallocated when this fd is closed, hence fo_close.

Yuri


More information about the freebsd-current mailing list