Re: How to best overload the fileops ?
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-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 3 之 8 篇):