Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751033AbXBMU06 (ORCPT ); Tue, 13 Feb 2007 15:26:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751034AbXBMU06 (ORCPT ); Tue, 13 Feb 2007 15:26:58 -0500 Received: from x35.xmailserver.org ([64.71.152.41]:4255 "EHLO x35.xmailserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbXBMU05 (ORCPT ); Tue, 13 Feb 2007 15:26:57 -0500 X-AuthUser: davidel@xmailserver.org Date: Tue, 13 Feb 2007 12:26:55 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@alien.or.mcafeemobile.com To: Linus Torvalds cc: Andi Kleen , Alan , Ingo Molnar , Linux Kernel Mailing List , Arjan van de Ven , Christoph Hellwig , Andrew Morton , Ulrich Drepper , Zach Brown , Evgeniy Polyakov , "David S. Miller" , Benjamin LaHaise , Suparna Bhattacharya , Thomas Gleixner Subject: Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support In-Reply-To: Message-ID: References: <20060529212109.GA2058@elte.hu> <20070213142010.GA638@elte.hu> <20070213150019.4b4d4827@localhost.localdomain> X-GPG-FINGRPRINT: CFAE 5BEE FD36 F65E E640 56FE 0974 BF23 270F 474E X-GPG-PUBLIC_KEY: http://www.xmailserver.org/davidel.asc MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 662 Lines: 22 On Tue, 13 Feb 2007, Linus Torvalds wrote: > if (in_async_context()) > return -EINVAL; > > or similar. We need that "async_context()" function anyway for the other > cases where we can't do other things concurrently, like changing the UID. Yes, that's definitely better. Let's have the policy about weather a syscall is or is not async-enabled, inside the syscall itself. Simplify things a lot. - Davide - 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/