Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 4 Jan 2002 16:18:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 4 Jan 2002 16:18:24 -0500 Received: from tomts8.bellnexxia.net ([209.226.175.52]:38040 "EHLO tomts8-srv.bellnexxia.net") by vger.kernel.org with ESMTP id ; Fri, 4 Jan 2002 16:18:10 -0500 Content-Type: text/plain; charset=US-ASCII From: Ed Tomlinson Organization: me To: linux-kernel@vger.kernel.org Subject: Re: hashed waitqueues Date: Fri, 4 Jan 2002 16:17:45 -0500 X-Mailer: KMail [version 1.3.2] Cc: William Lee Irwin III MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <20020104211746.CF5C6D722@oscar.casa.dyndns.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi The following fixes a compile problem with agpgart: ------------- --- linux/drivers/char/agp/agpgart_be.c.orig Fri Jan 4 15:01:50 2002 +++ linux/drivers/char/agp/agpgart_be.c Fri Jan 4 15:22:46 2002 @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -830,7 +831,7 @@ page = virt_to_page(pt); atomic_dec(&page->count); clear_bit(PG_locked, &page->flags); - wake_up(&page->wait); + wake_up(page_waitqueue(page)); free_page((unsigned long) pt); atomic_dec(&agp_bridge.current_memory_agp); } --------------- As a quick test of a new kernel I copy dbench to a tmpfs fs and run "time dbench 32". This typically takes over 512M swap (with rmap 10c and mainline). With hashed waitqueues it does not reach 512M. The machine has 512M of memory. I observe about the same runtimes and datarate with all three kernels. Ed Tomlinson - 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/