Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756809AbYAWShd (ORCPT ); Wed, 23 Jan 2008 13:37:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753386AbYAWSh0 (ORCPT ); Wed, 23 Jan 2008 13:37:26 -0500 Received: from ms-smtp-04.nyroc.rr.com ([24.24.2.58]:51504 "EHLO ms-smtp-04.nyroc.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754006AbYAWSh0 (ORCPT ); Wed, 23 Jan 2008 13:37:26 -0500 Date: Wed, 23 Jan 2008 13:36:12 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Pavel Machek cc: LKML , Linus Torvalds , Andrew Morton , Alexey Dobriyan , Kirill Korotaev Subject: Re: [PATCH] printk deadlocks if called with runqueue lock held In-Reply-To: <20080123133149.GA4059@ucw.cz> Message-ID: References: <20080123133149.GA4059@ucw.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 457 Lines: 17 On Wed, 23 Jan 2008, Pavel Machek wrote: > > Could try_to_wakeup use trylock, and only avoid wakeup if lock is > already held? > Pavel I could imagine a lot of missed wakeups caused by that. -- Steve -- 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/