Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932573AbXBNVGE (ORCPT ); Wed, 14 Feb 2007 16:06:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932589AbXBNVGE (ORCPT ); Wed, 14 Feb 2007 16:06:04 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:39063 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932573AbXBNVGC (ORCPT ); Wed, 14 Feb 2007 16:06:02 -0500 Date: Wed, 14 Feb 2007 22:02:51 +0100 From: Ingo Molnar To: Linus Torvalds Cc: Linux Kernel Mailing List , Arjan van de Ven , Christoph Hellwig , Andrew Morton , Alan Cox , Ulrich Drepper , Zach Brown , Evgeniy Polyakov , "David S. Miller" , Benjamin LaHaise , Suparna Bhattacharya , Davide Libenzi , Thomas Gleixner Subject: Re: [patch 05/11] syslets: core code Message-ID: <20070214210251.GA15025@elte.hu> References: <20070213142035.GF638@elte.hu> 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: -1.3 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.3 required=5.9 tests=ALL_TRUSTED,BAYES_40 autolearn=no SpamAssassin version=3.1.7 -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.5 BAYES_40 BODY: Bayesian spam probability is 20 to 40% [score: 0.3482] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 880 Lines: 21 * Linus Torvalds wrote: > And the whole "lock things down in memory" approach is bad. It's doing > expensive things like mlock(), making the overhead for _single_ system > calls much more expensive. [...] hm, there must be some misunderstanding here. That mlock is /only/ once per the lifetime of the whole 'head' - i.e. per sys_async_register(). (And you can even forget i ever did it - it's 5 lines of code to turn the completion ring into a swappable entity.) never does any MMU trick ever enter the picture during the whole operation of this thing, and that's very much intentional. 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/