From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 18 Sep 2001 05:08:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 18 Sep 2001 05:08:07 -0400 Received: from krusty.E-Technik.Uni-Dortmund.DE ([129.217.163.1]:11281 "HELO krusty.e-technik.uni-dortmund.de") by vger.kernel.org with SMTP id ; Tue, 18 Sep 2001 05:07:54 -0400 Date: Tue, 18 Sep 2001 11:08:15 +0200 From: Matthias Andree To: Alexander Viro Cc: Matthias Andree , Alex Stewart , Alan Cox , linux-kernel@vger.kernel.org Subject: Re: [PATCH] lazy umount (1/4) Message-ID: <20010918110815.B16592@emma1.emma.line.org> Mail-Followup-To: Alexander Viro , Alex Stewart , Alan Cox , linux-kernel@vger.kernel.org In-Reply-To: <20010918023942.A28179@emma1.emma.line.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 Sep 2001, Alexander Viro wrote: > > Well, you cannot tell your local power plant "you must not fail this > > very moment" either. Of course, data will be lost when a process is > > killed from "D" state, but if the admin can tell the data will be lost > > either way, ... > > Gaack... Just how do you kill a process that holds a bunch of semaphores > and got blocked on attempt to take one more? It's not about lost data, > it's about completely screwed kernel. Well, if that process holds processes and blocks getting one more, something is wrong with the process and it's prone to deadlocks. Even if kill -9 just means "fail this all further syscalls instantly" in such cases, that'd be fine. Something like an "BEING KILLED" state for processes. -- Matthias Andree "Those who give up essential liberties for temporary safety deserve neither liberty nor safety." - Benjamin Franklin