From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from s3.sipsolutions.net ([2a01:4f8:191:4433::2] helo=sipsolutions.net) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkQmN-0008IE-0d for linux-um@lists.infradead.org; Wed, 02 Dec 2020 11:58:39 +0000 Message-ID: <2829ed07f8d72e680d40b01e6fa9d7f91e18262a.camel@sipsolutions.net> Subject: Re: [PATCH 7/7] um: simplify IRQ handling code From: Johannes Berg Date: Wed, 02 Dec 2020 12:58:36 +0100 In-Reply-To: References: <20201123195621.275470-1-johannes@sipsolutions.net> <20201123205446.6370687fa983.I811873233b8d71fbde9154b84c85b498521e3b12@changeid> <96e31171-965d-c1d7-282e-b1b0bec6b73f@kot-begemot.co.uk> <4ebc9f4069082c1fa3606fc636f15c664bc0af60.camel@sipsolutions.net> <02516224-6caf-c947-3410-0fcdc6e7204e@kot-begemot.co.uk> <6cbfb799d0889dc2d34d7c773a42305d025c615b.camel@sipsolutions.net> <7cee8105ff3a771fc0c3f7a4e4849da4ca2912a1.camel@sipsolutions.net> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Anton Ivanov , linux-um@lists.infradead.org On Wed, 2020-12-02 at 11:56 +0000, Anton Ivanov wrote: > > > Also, we probably should disable SIGIO if the IRQ is freed, otherwise > > the FD can keep interrupting us but we don't find anything in the epoll > > set ... But again, a separate cleanup? > > I think that deleting the fd from the set should stop that. It doesn't. We'd have to separately call ignore_sigio_fd(), but we only do that in deactivate_fd(), not in any of the other code paths ... > Let me think on it. It was clearly being held together by duck tape > and baling wire and it needs fixing. You got most of it which is > grand, we just need to finish it. Indeed. Will send out this set again with the fix in a few minutes. johannes _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um