Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755194Ab2FSX1u (ORCPT ); Tue, 19 Jun 2012 19:27:50 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:37406 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814Ab2FSX1t (ORCPT ); Tue, 19 Jun 2012 19:27:49 -0400 Date: Tue, 19 Jun 2012 16:27:47 -0700 From: Andrew Morton To: Rik van Riel Cc: linux-mm@kvack.org, aarcange@redhat.com, peterz@infradead.org, minchan@gmail.com, kosaki.motohiro@gmail.com, andi@firstfloor.org, hannes@cmpxchg.org, mel@csn.ul.ie, linux-kernel@vger.kernel.org, Rik van Riel Subject: Re: [PATCH -mm 4/7] mm: make page colouring code generic Message-Id: <20120619162747.fa31c86a.akpm@linux-foundation.org> In-Reply-To: <1340057126-31143-5-git-send-email-riel@redhat.com> References: <1340057126-31143-1-git-send-email-riel@redhat.com> <1340057126-31143-5-git-send-email-riel@redhat.com> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 933 Lines: 27 On Mon, 18 Jun 2012 18:05:23 -0400 Rik van Riel wrote: > From: Rik van Riel > > Fix the x86-64 page colouring code to take pgoff into account. Could we please have a full description of what's wrong with the current code? > Use the x86 and MIPS page colouring code as the basis for a generic > page colouring function. > > Teach the generic arch_get_unmapped_area(_topdown) code to call the > page colouring code. > > Make sure that ALIGN_DOWN always aligns down, and ends up at the > right page colour. Some performance tests on the result would be interesting. iirc, we've often had trouble demonstrating much or any benefit from coloring. -- 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/