Re: How to best overload the fileops ?

From: Yuri <yuri_at_rawbw.com>
Date: Wed, 21 Aug 2013 16:53:06 -0700
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
Received on Wed Aug 21 2013 - 21:53:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC