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

William Lee Irwin III
2003-12-28T16:40:28Z

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