Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750910AbXBMRGn (ORCPT ); Tue, 13 Feb 2007 12:06:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750911AbXBMRGn (ORCPT ); Tue, 13 Feb 2007 12:06:43 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:41414 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750909AbXBMRGm (ORCPT ); Tue, 13 Feb 2007 12:06:42 -0500 Date: Tue, 13 Feb 2007 18:03:48 +0100 From: Ingo Molnar To: Linus Torvalds Cc: Andi Kleen , Alan , linux-kernel@vger.kernel.org, Arjan van de Ven , Christoph Hellwig , Andrew Morton , Ulrich Drepper , Zach Brown , Evgeniy Polyakov , "David S. Miller" , Benjamin LaHaise , Suparna Bhattacharya , Davide Libenzi , Thomas Gleixner Subject: Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support Message-ID: <20070213170348.GA18967@elte.hu> References: <20060529212109.GA2058@elte.hu> <20070213142010.GA638@elte.hu> <20070213150019.4b4d4827@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -0.8 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-0.8 required=5.9 tests=ALL_TRUSTED,BAYES_50 autolearn=no SpamAssassin version=3.1.7 -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 1.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60% [score: 0.5000] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 637 Lines: 24 * Linus Torvalds wrote: > Ie, we could just add to "do_fork()" (which is where all of the > vfork/clone/fork cases end up) a simple case like > > err = wait_async_context(); > if (err) > return err; > > or > > if (in_async_context()) > return -EINVAL; ok, this is a much nicer solution. I've scrapped the sys_async_sys_call_table[] thing. Ingo - 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/