Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 4 Apr 2001 07:15:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 4 Apr 2001 07:15:03 -0400 Received: from router-100M.swansea.linux.org.uk ([194.168.151.17]:15885 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Wed, 4 Apr 2001 07:14:44 -0400 Subject: Re: uninteruptable sleep (D state => load_avrg++) To: christophe.barbe@lineo.fr (christophe barbe) Date: Wed, 4 Apr 2001 12:15:52 +0100 (BST) Cc: linux-kernel@vger.kernel.org In-Reply-To: <20010404094708.A4718@pc8.inup.com> from "christophe barbe" at Apr 04, 2001 09:47:08 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > The file locking use real IO and so when you ask for a lock, if the loc= > k is already owned, you fall in a D state. That seems odd. They should be using interruptible sleeps so you can interrupt the task waiting for the lock, surely. - 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/