I just noted one minor issue with it (which existed in the earlier version as well) - it leaks one FD per reboot.
I will fix it later on during the week in a revised version. A. On 08/11/15 22:50, Anton Ivanov wrote: > Epoll based interrupt controller. > > IMPROVES: IO loop performance - no per fd lookups, allowing for > 15% IO speedup in minimal config going to 100s of % with many > devices - a N^N lookup is now replaced by a log(N) > > ADDS: True Write IRQ functionality > > OBSOLETES: The need to call reactivate_fd() in any driver which > has only read IRQ semantics. Write IRQs work, but will need to > be updated to use this fully. > > Potentially (with a change in API) will allow both edge and level > IRQ semantics. > > Pre-requisite for using packet mmap and multipacket read/write > which do not get along with poll() very well. > > Signed-off-by/: Anton Ivanov <aiva...@brocade.com> > --- > arch/um/drivers/line.c | 5 +- > arch/um/drivers/mconsole_kern.c | 2 - > arch/um/drivers/net_kern.c | 1 - > arch/um/drivers/port_kern.c | 1 - > arch/um/drivers/random.c | 1 - > arch/um/drivers/ubd_kern.c | 1 - > arch/um/include/shared/irq_user.h | 24 ++- > arch/um/include/shared/os.h | 13 +- > arch/um/kernel/irq.c | 412 > ++++++++++++++++++++++---------------- > arch/um/os-Linux/irq.c | 145 +++++--------- > 10 files changed, 321 insertions(+), 284 deletions(-) > ------------------------------------------------------------------------------ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel