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, 17 Apr 2001 15:40:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Apr 2001 15:38:54 -0400 Received: from neon-gw.transmeta.com ([209.10.217.66]:59143 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Tue, 17 Apr 2001 15:38:00 -0400 To: linux-kernel@vger.kernel.org From: "H. Peter Anvin" Subject: Re: Subtle MM bug Date: 17 Apr 2001 12:37:22 -0700 Organization: Transmeta Corporation, Santa Clara CA Message-ID: <9bi61i$5ql$1@cesium.transmeta.com> In-Reply-To: <87wvburowk.fsf@atlas.iskon.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Disclaimer: Not speaking for Transmeta in any way, shape, or form. Copyright: Copyright 2001 H. Peter Anvin - All Rights Reserved Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Followup to: By author: Rik van Riel In newsgroup: linux.dev.kernel > > Suppose you have 8 high-priority tasks waiting on kswapd > and one lower-priority (but still higher than kswapd) > process running and preventing kswapd from doing its work. > Oh .. and also preventing the higher-priority tasks from > being woken up and continuing... > Classic priority inversion. In this particular case it seems like it should be unusually simple to apply priority inheritance, though (the general case is complicated by the fact that the dependency matrix usually isn't readily available.) -hpa -- at work, in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt