Re: Bug: Discontigmem virt_to_page() [Alpha,ARM,Mips64?]

Andrea Arcangeli
2002-05-02T15:59:11Z

On Wed, May 01, 2002 at 07:37:11PM -0700, William Lee Irwin III wrote:
> On Thu, May 02, 2002 at 02:47:40AM +0200, Andrea Arcangeli wrote:
> > Oh yeah, you save 1 microsecond every 10 years of uptime by taking
> > advantage of the potentially coalesced cacheline between the last page
> > in a node and the first page of the next node. Before you can care about
> > this optimizations you should remove from x86 the pgdat loops that are
> > not needed with discontigmem disabled like in x86 (this has nothing to
> > do with discontigmem/nonlinear). That wouldn't be measurable too but at
> > least it would be more worthwhile.
>
> Which ones did you have in mind? I did poke around this area a bit, and

all of them, if you implement a mechanism to skip one of the pgdat
loops, you could skip them of all then.

> already have my eye on one...
>
>
> Cheers,
> Bill

Andrea