Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 7 Aug 2002 22:18:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 7 Aug 2002 22:18:02 -0400 Received: from to-velocet.redhat.com ([216.138.202.10]:25842 "EHLO touchme.toronto.redhat.com") by vger.kernel.org with ESMTP id ; Wed, 7 Aug 2002 22:18:02 -0400 Date: Wed, 7 Aug 2002 22:21:42 -0400 From: Benjamin LaHaise To: Jeff Dike Cc: "Udo A. Steinberg" , linux-kernel@vger.kernel.org Subject: Re: context switch vs. signal delivery [was: Re: Accelerating user mode Message-ID: <20020807222142.B26110@redhat.com> References: <20020808032704.73d7fdda.us15@os.inf.tu-dresden.de> <200208080314.WAA04821@ccure.karaya.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200208080314.WAA04821@ccure.karaya.com>; from jdike@karaya.com on Wed, Aug 07, 2002 at 10:14:42PM -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 870 Lines: 20 On Wed, Aug 07, 2002 at 10:14:42PM -0500, Jeff Dike wrote: > I'm not sure if this makes any sense, but coupling the new aio mechanism with > something that queues up siginfos might be interesting. It would be a magic > descriptor that would feed you signals when you read it. > > Is that at all sane? Delivering signals from aio completion is indeed possible. There is even a field in the iocb structure for doing this in order to provide complete posix compatibility (well, except for the fact that structure initialization is enforced). -ben -- "You will be reincarnated as a toad; and you will be much happier." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/