|
From: Nicholas N. <nj...@ca...> - 2004-01-26 22:02:47
|
On Sun, 25 Jan 2004, Jeremy Fitzhardinge 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. Done, new patch attached. Anyone think it ok to commit? N |