Re: Page Colouring (was: 2.6.0 Huge pages not working as expected)

From: William Lee Irwin III
Date: Sun Dec 28 2003 - 11:41:32 EST


On Sat, 27 Dec 2003, Eric W. Biederman wrote:
>> For anyone taking you up on this I'd like to suggest two possible
>> directions.
>> 1) Increasing PAGE_SIZE in the kernel.

On Sat, Dec 27, 2003 at 08:53:30PM -0800, Linus Torvalds wrote:
> Yes. This is something I actually want to do anyway for 2.7.x. Dan
> Phillips had some patches for this six months ago.
> You have to be careful, since you have to be able to mmap "partial pages",
> which is what makes it less than trivial, but there are tons of reasons to
> want to do this, and cache coloring is actually very much a secondary
> concern.

I've not seen Dan Phillips' code for this. I've been hacking on
something doing this since late last December.


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/