From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932303AbXBNEt1 (ORCPT ); Tue, 13 Feb 2007 23:49:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932306AbXBNEt1 (ORCPT ); Tue, 13 Feb 2007 23:49:27 -0500 Received: from x35.xmailserver.org ([64.71.152.41]:4735 "EHLO x35.xmailserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932303AbXBNEt0 (ORCPT ); Tue, 13 Feb 2007 23:49:26 -0500 X-AuthUser: davidel@xmailserver.org Date: Tue, 13 Feb 2007 20:49:23 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@alien.or.mcafeemobile.com To: Ingo Molnar cc: Linux Kernel Mailing List , Linus Torvalds , Arjan van de Ven , Christoph Hellwig , Andrew Morton , Alan Cox , 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: <20070213142010.GA638@elte.hu> 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 On Tue, 13 Feb 2007, Davide Libenzi wrote: [...] > So the sys_async_exec task is going to block. Now, am I being really > tired, or the cachemiss fast return is simply not there? The former 8) pick_new_async_head() new_task->ah = ah; cachemiss_loop() for (;;) { if (unlikely(t->ah || ...)) break; > There's another problem AFAICS: > > - We woke up one of the cachemiss_loop threads in pick_new_async_thread > > - The threads wakes up, mark itself as busy, and look at the ->work > pointer hoping to find something to work on > > But we never set that pointer to a userspace atom AFAICS. Me blind? :) I still don't see at->work ever set to a valid userspace atom though... - Davide