Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 5 Aug 2002 11:39:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 5 Aug 2002 11:39:16 -0400 Received: from pc-62-30-255-50-az.blueyonder.co.uk ([62.30.255.50]:14249 "EHLO kushida.apsleyroad.org") by vger.kernel.org with ESMTP id ; Mon, 5 Aug 2002 11:39:12 -0400 Date: Mon, 5 Aug 2002 16:41:26 +0100 From: Jamie Lokier To: Ingo Molnar Cc: Andi Kleen , Richard Zidlicky , Jeff Dike , Alan Cox , linux-kernel@vger.kernel.org Subject: Re: context switch vs. signal delivery [was: Re: Accelerating user mode linux] Message-ID: <20020805164126.D7130@kushida.apsleyroad.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from mingo@elte.hu on Mon, Aug 05, 2002 at 12:40:54PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 669 Lines: 16 Ingo Molnar wrote: > And threads can do queued events that amortizes context switch > overhead, while queued signals generate per-event signal delivery, so > signal delivery costs are not amortized. > > (Not that i advocate SIGIO or helper threads for highperformance IO - > Ben's aio interface is the fastest and most correct approach.) Isn't the per-event queued signal cost amortised when using sigwaitinfo()? -- Jamie - 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/