Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757645AbZCTQKF (ORCPT ); Fri, 20 Mar 2009 12:10:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752817AbZCTQJz (ORCPT ); Fri, 20 Mar 2009 12:09:55 -0400 Received: from smtp.ultrahosting.com ([74.213.174.254]:59549 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753499AbZCTQJy (ORCPT ); Fri, 20 Mar 2009 12:09:54 -0400 Date: Fri, 20 Mar 2009 12:07:22 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@qirst.com To: Mel Gorman cc: Linux Memory Management List , KOSAKI Motohiro , Nick Piggin , Linux Kernel Mailing List , Lin Ming , Zhang Yanmin , Peter Zijlstra , Andrew Morton Subject: Re: [PATCH 00/25] Cleanup and optimise the page allocator V5 In-Reply-To: <20090320153723.GO24586@csn.ul.ie> Message-ID: References: <1237543392-11797-1-git-send-email-mel@csn.ul.ie> <20090320153723.GO24586@csn.ul.ie> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 795 Lines: 16 On Fri, 20 Mar 2009, Mel Gorman wrote: > good idea one way or the other. Course, this meant a search of the PCP > lists or increasing the size of the PCP structure - swings and > roundabouts :/ The PCP list structure irks me a bit. Manipulating doubly linked lists means touching at least 3 cachelines. Is it possible to go to a simple linked list (one cacheline to be touched)? Or an array of pointers to pages instead (one cacheline may contian multiple pointers to pcp pages which means multiple pages could be handled with a single cacheline)? -- 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/