Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 5 Mar 2001 10:26:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 5 Mar 2001 10:26:11 -0500 Received: from brutus.conectiva.com.br ([200.250.58.146]:7925 "EHLO imladris.rielhome.conectiva") by vger.kernel.org with ESMTP id ; Mon, 5 Mar 2001 10:26:01 -0500 Date: Mon, 5 Mar 2001 11:20:18 -0300 (BRST) From: Rik van Riel To: Mike Galbraith cc: Ulrich Kunitz , linux-kernel@vger.kernel.org, linux-mm@vger.kernel.org Subject: Re: [PATCH] tiny MM performance and typo patches for 2.4.2 In-Reply-To: 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 On Mon, 5 Mar 2001, Mike Galbraith wrote: > On Sun, 4 Mar 2001, Ulrich Kunitz wrote: > > > patch-uk2 makes use of the pgd, pmd and pte quicklists for x86 too; > > risky: there might be a reason that 2.4.x doesn't use the > > quicklists. > > I remember these being taken out (long ago), but not why. Anyone? They probably wasted too much memory ... Having _2_ quicklists per CPU (on SMP) is probably the way to go: one with zeroed pages and one with non-zeroed pages. This should avoid cache contention in __alloc_pages() and also avoid unneeded zeroing of pages (when we put away a zeroed page, eg. an freed pagetable page). On UP we probably want a (smaller) freelist with zeroed pages only, since that means we can keep more pages on the inactive_clean list. regards, Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com.br/ - 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/