From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 10 Jan 2001 11:55:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 10 Jan 2001 11:55:48 -0500 Received: from panther.noc.ucla.edu ([169.232.10.21]:47490 "EHLO panther.noc.ucla.edu") by vger.kernel.org with ESMTP id ; Wed, 10 Jan 2001 11:55:38 -0500 Message-ID: <3A5C93B9.ADFF71F8@ucla.edu> Date: Wed, 10 Jan 2001 08:54:17 -0800 From: Benjamin Redelings I X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.0-ac4 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: MM bugs in 2.4.1-pre1 propogated to ac5? Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi - can someone confirm or deny that these are bugs? I compiled pre1 for a 256Mb machine with them both "fixed", and it worked fine. Based on my quick reading of this patch: + +empty: + spin_lock(&mmlist_lock); + return 0; The above should actually be spin_UNlock? Also the test for !inactive_shortage() seems to be inverted? + /* If refill_inactive_scan failed, try to page stuff out.. */ + swap_out(priority, gfp_mask); + } while (!inactive_shortage()); -BenRI -- "...assisted of course by pride, for we teach them to describe the Creeping Death, as Good Sense, or Maturity, or Experience." - "The Screwtape Letters" Benjamin Redelings I <>< http://www.bol.ucla.edu/~bredelin/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/