From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264419AbUHJLx2 (ORCPT ); Tue, 10 Aug 2004 07:53:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264443AbUHJLx2 (ORCPT ); Tue, 10 Aug 2004 07:53:28 -0400 Received: from holomorphy.com ([207.189.100.168]:35560 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S264419AbUHJLx1 (ORCPT ); Tue, 10 Aug 2004 07:53:27 -0400 Date: Tue, 10 Aug 2004 04:53:07 -0700 From: William Lee Irwin III To: Ingo Molnar , Jesse Barnes , Andrew Morton , linux-kernel@vger.kernel.org, Nick Piggin Subject: Re: 2.6.8-rc3-mm2 Message-ID: <20040810115307.GR11200@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Ingo Molnar , Jesse Barnes , Andrew Morton , linux-kernel@vger.kernel.org, Nick Piggin References: <200408091217.50786.jbarnes@engr.sgi.com> <20040809195323.GU11200@holomorphy.com> <20040809204357.GX11200@holomorphy.com> <20040809211042.GY11200@holomorphy.com> <20040809224546.GZ11200@holomorphy.com> <20040810063445.GE11200@holomorphy.com> <20040810080430.GA25866@elte.hu> <20040810090051.GK11200@holomorphy.com> <20040810093831.GM11200@holomorphy.com> <20040810100234.GN11200@holomorphy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040810100234.GN11200@holomorphy.com> User-Agent: Mutt/1.5.6+20040722i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 10, 2004 at 02:00:51AM -0700, William Lee Irwin III wrote: >>> It deadlocks with or without the fork_idle() call being via keventd; >>> the printk change is what makes the difference. =( On Tue, Aug 10, 2004 at 02:38:31AM -0700, William Lee Irwin III wrote: >> Okay, it deadlocks with both mdelay(1000) and yield() in place of the >> printk(). Trying manual calls to schedule() and local_irq_enable() next. On Tue, Aug 10, 2004 at 03:02:34AM -0700, William Lee Irwin III wrote: > Replacing the printk() with either of the following two things didn't work: > (a) yield(); > (b) local_irq_enable(); set_current_state(TASK_RUNNING); schedule(); Okay, these also failed as replacements for printk(): (c) local_irq_enable(); (d) local_irq_enable(); set_current_state(TASK_RUNNING); schedule(); mdelay(1000); (e) local_irq_enable(); set_current_state(TASK_RUNNING); for (i = 0; i < 1000; ++i) mdelay(1); set_current_state(TASK_RUNNING); schedule(); -- wli