From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752022AbWG1QXz (ORCPT ); Fri, 28 Jul 2006 12:23:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752034AbWG1QXy (ORCPT ); Fri, 28 Jul 2006 12:23:54 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:16021 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S1752022AbWG1QXy (ORCPT ); Fri, 28 Jul 2006 12:23:54 -0400 Subject: Re: A better interface, perhaps: a timed signal flag From: Alan Cox To: Theodore Tso Cc: Steven Rostedt , Neil Horman , "H. Peter Anvin" , Segher Boessenkool , Dave Airlie , linux-kernel@vger.kernel.org, a.zummo@towertech.it, jg@freedesktop.org In-Reply-To: <20060728145210.GA3566@thunk.org> References: <44C67E1A.7050105@zytor.com> <20060725204736.GK4608@hmsreliant.homelinux.net> <44C6842C.8020501@zytor.com> <20060725222547.GA3973@localhost.localdomain> <70FED39F-E2DF-48C8-B401-97F8813B988E@kernel.crashing.org> <20060725235644.GA5147@localhost.localdomain> <44C6B117.80300@zytor.com> <20060726002043.GA5192@localhost.localdomain> <20060726144536.GA28597@thunk.org> <1154093606.19722.11.camel@localhost.localdomain> <20060728145210.GA3566@thunk.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 28 Jul 2006 17:41:25 +0100 Message-Id: <1154104885.13509.142.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 (2.6.2-1.fc5.5) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Ar Gwe, 2006-07-28 am 10:52 -0400, ysgrifennodd Theodore Tso: > Good point, and limiting this facility to one such timeout per > task_struct seems like a reasonable restriction. Why is this any better than using a thread or signal handler ? From the implementation side its certainly horrible - we will be trying to write user pages from an IRQ event. Far better to let the existing thread code deal with it.