Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261989AbTGAKav (ORCPT ); Tue, 1 Jul 2003 06:30:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262008AbTGAKau (ORCPT ); Tue, 1 Jul 2003 06:30:50 -0400 Received: from bay-bridge.veritas.com ([143.127.3.10]:54559 "EHLO mtvmime03.VERITAS.COM") by vger.kernel.org with ESMTP id S261989AbTGAKat (ORCPT ); Tue, 1 Jul 2003 06:30:49 -0400 Date: Tue, 1 Jul 2003 11:46:34 +0100 (BST) From: Hugh Dickins X-X-Sender: hugh@localhost.localdomain To: William Lee Irwin III cc: Andrew Morton , , Subject: Re: 2.5.73-mm2 In-Reply-To: <20030701003958.GB20413@holomorphy.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 932 Lines: 22 On Mon, 30 Jun 2003, William Lee Irwin III wrote: > > It was suggested during my last round of OOM killer fixes that one of > my patches, which just checked nr_free_buffer_pages() > 0, should also > consider userspace (i.e. reclaimable at will) memory free. If you pursued it, wouldn't your patch also need to change nr_free_buffer_pages() to do what you think it does, count the free lowmem pages? It, and nr_free_pagecache_pages(), and nr_free_zone_pages(), are horribly badly named. They count present_pages-pages_high, they don't count free pages: okay for initialization estimates, useless for anything dynamic. Hugh p.s. any chance of some more imaginative Subject lines :-? - 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/