Welcome to the Linux Foundation Forum!

Balancing between processes per source ip in epoll()

fervid
fervid Posts: 1
edited November 2013 in Kernel Development

Hello.

Is it possible to add new feature to epoll()?

For example, parent process create epoll instance by epoll_create(..., N), N - number of child processes. After fork() every process gets index in range: 0 :: N-1. Then, in epoll_wait(..., index) each process sends it own index.

Every process never will get events from same ip from epoll_wait().

So, every process will work with its isolated data.

Best Regards.

Categories

Upcoming Training