From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZvZJk-0004qR-Hq for user-mode-linux-devel@lists.sourceforge.net; Sun, 08 Nov 2015 23:24:12 +0000 Received: from ivanoab4.miniserver.com ([78.31.104.92]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1ZvZJi-0005CP-LK for user-mode-linux-devel@lists.sourceforge.net; Sun, 08 Nov 2015 23:24:12 +0000 Received: from tun252.maui-covenant.sigsegv.cx ([192.168.17.6] helo=smaug.kot-begemot.co.uk) by ivanoab4.miniserver.com with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZvZJb-0005N1-QA for user-mode-linux-devel@lists.sourceforge.net; Sun, 08 Nov 2015 23:24:03 +0000 Received: from [64.88.227.134] (helo=[172.19.248.113]) by smaug.kot-begemot.co.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1ZvZJa-000721-6f for user-mode-linux-devel@lists.sourceforge.net; Sun, 08 Nov 2015 23:24:03 +0000 Message-ID: <563FD983.7060801@kot-begemot.co.uk> Date: Sun, 08 Nov 2015 23:23:47 +0000 From: Anton Ivanov MIME-Version: 1.0 References: <1447023037-711-1-git-send-email-aivanov@brocade.com> In-Reply-To: <1447023037-711-1-git-send-email-aivanov@brocade.com> List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net Subject: Re: [uml-devel] [PATCH] EPOLL Interrupt Controller V2.0 To: user-mode-linux-devel@lists.sourceforge.net 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 > --- > 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