|
From: Nicholas N. <nj...@ca...> - 2004-01-25 18:35:08
|
On Tue, 20 Jan 2004, Tom Hughes wrote: > Mukund has confirmed to me that it is only normal kernel locking that > he is talking about, so I think it is only epoll_wait that we need to > consider as blocking. 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. Also, I'm not super confident about the checking of the arguments; my patch is based on the patch at www.fefe.de/diffs/, but I changed the argument checking a little bit, because I don't think it was correct. Finally, I haven't actually tried it because my machine is still running a 2.4 kernel... N |