Re: [PATCH] rewritten page coloring for 2.4.20 kernel

William Lee Irwin III
2003-01-05T05:07:55Z

On Sat, Jan 04, 2003 at 11:31:11PM -0500, Jason Papadopoulos wrote:
> Hello. After a year in stasis, I've completely rebuilt my kernel
> patch that implements page coloring. Improvements include:
> - Page coloring is now hardwired into the kernel. The hash
> queues now use bootmem, and page coloring is always on. The
> patch still creates /proc/page_color for statistics, but that
> will go away in time.
> - Automatic detection of external cache size on many architectures.
> I have no idea if any of this code works, since I don't have any
> of the target machines. The preferred way to initialize the coloring
> is by passing "page_color=<external cache size in kB>" as a boot
> argument.
> - NUMA-safe, discontig-safe
> Right now the actual page coloring algorithm is the same as in previous
> patches, and performs the same. In the next few weeks I'll be trying new
> ideas that will hopefully reduce fragmentation and increase performance.
> This is an early attempt to get some feedback on mistakes I may have made.

Any chance for a 2.5.x-mm port? This is a bit feature-ish for 2.4.x.

Thanks,
Bill