tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

"Add kqueue support to GIO" GSoC project



Hello,

I am a B.Sc. Comp. Sci. student of Nizhny Novgorod State Technical University, Russia, and I am interested in NetBSD GSoC projects this year.

The most interesting one for me is "Add kqueue support to GIO". The task looks obvious and the aims are clean, and I am already mulling over the implementation plan.

Integrating kqueue into GIO should be trivial - GFileMonitor provides an abstract set of events to monitor. The set is not tied tightly on inotify and almost all these events may be expressed with kqueue.

The second part of the task - emulating inotify with kqueue - is a bit harder, because inotify provides some events that kqueue does not (CLOSE_WRITE, MOVED_TO/MOVED_FROM, ...). This events may be simulated in the user space with some additional operations (caching readdir() results and etc), but this way potentially has a big overhead. Is it acceptable to extend kqueue with additional events for EVFILT_VNODE in order to provide a faster and fuller inotify simulation?

Best regards,
Dmitry

P.S. Where should students post their information, project proposals and applications? I assume that it is allowed to post such info directly on the mailing lists, but probably there is a wiki page about which I dont know..



Home | Main Index | Thread Index | Old Index