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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to