|
From: Jeremy F. <je...@go...> - 2004-01-25 20:52:49
|
On Sun, 2004-01-25 at 10:35, Nicholas Nethercote wrote: > Attached is a my attempt to add epoll support to the CVS HEAD. I'm not > sure about the use of the "#ifdef KERNEL_2_6" in vg_syscalls.c, however. > It was my attempt to cope with "struct epoll_event" not being available in > 2.4 and earlier kernels. I would be inclined to copy the definition into vg_kerneliface.h, and make it all unconditional. If the underlying kernel doesn't support the syscall, then it will fail properly. As much as possible, I'd like to eliminate compile-time dependencies on particular kernel versions. J |