Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755239AbXFZJIp (ORCPT ); Tue, 26 Jun 2007 05:08:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751531AbXFZJIi (ORCPT ); Tue, 26 Jun 2007 05:08:38 -0400 Received: from wr-out-0506.google.com ([64.233.184.232]:10732 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbXFZJIh (ORCPT ); Tue, 26 Jun 2007 05:08:37 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cb7I0E6uTtYy6OhAvO1rQG+GFSQmVFKTYe5hNK8pKxYhuXmU5xXBEstH7zf9C6U/90fUnz0WrtXOOK6ayMvhXCzQo3IE7EJbjMpRSNrG+uSnAHL6n3hLkMKksKh6m/E8m0F43fRMpa9EKSrzFJ3D3HTu9BOT5OcPBIqhOf8eFGY= Message-ID: Date: Tue, 26 Jun 2007 14:38:37 +0530 From: "Satyam Sharma" To: gshan Subject: Re: bugs in __schedule() Cc: linux-kernel@vger.kernel.org In-Reply-To: <4680D48F.6070105@alcatel-lucent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4680C6F3.9000504@alcatel-lucent.com> <4680CC51.1050205@alcatel-lucent.com> <4680D007.3040007@alcatel-lucent.com> <4680D48F.6070105@alcatel-lucent.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 631 Lines: 13 On 6/26/07, gshan wrote: > I mean kernel thread could sleep, but tasklet can't. If so, it meet my > requirements. That's not really a justification to convert a tasklet to a kernel thread. I suspect the simplest solution to your problem would be to simply replace that semaphore with a spinlock. Other than that, we can't really help without looking at code. - 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/