Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751706AbXBEQpT (ORCPT ); Mon, 5 Feb 2007 11:45:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751719AbXBEQpT (ORCPT ); Mon, 5 Feb 2007 11:45:19 -0500 Received: from agminet01.oracle.com ([141.146.126.228]:44692 "EHLO agminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751706AbXBEQpR (ORCPT ); Mon, 5 Feb 2007 11:45:17 -0500 In-Reply-To: <20070202195932.15b9b4ed@localhost.localdomain> References: <20070201083611.GC18233@elte.hu> <20070202104900.GA13941@elte.hu> <20070202195932.15b9b4ed@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <202BD42A-0600-4A8A-87E3-4A237BAE6B41@oracle.com> Cc: Linus Torvalds , Ingo Molnar , linux-kernel@vger.kernel.org, linux-aio@kvack.org, Suparna Bhattacharya , Benjamin LaHaise Content-Transfer-Encoding: 7bit From: Zach Brown Subject: Re: [PATCH 2 of 4] Introduce i386 fibril scheduling Date: Mon, 5 Feb 2007 11:44:28 -0500 To: Alan X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1149 Lines: 26 > Other questions really relate to the scheduling - Zach do you intend > schedule_fibrils() to be a call code would make or just from > schedule() ? I'd much rather keep the current sleeping API in as much as is possible. So, yeah, if we can get schedule() to notice and behave accordingly I'd prefer that. In the current code it's keyed off finding a stack allocation hanging off of current->. If the caller didn't care about guaranteeing non-blocking submission then we wouldn't need that.. we could use a thread_info flag bit, or something. Avoiding that allocation in the cached case would be nice. > Alan (who used to use Co-routines in real languages on 36bit > computers with 9bit bytes before learning C) Yes, don't despair, I'm not co-routine ignorant. In fact, I'm almost positive it was you who introduced them to me at some point in the previous millennium ;). - z - 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/