Re: sparc64 pgalloc.h pgd_quicklist question

David S. Miller (davem@redhat.com)
Fri, 24 May 2002 09:05:26 -0700 (PDT)


From: "Holzrichter, Bruce" <bruce.holzrichter@monster.com>
Date: Fri, 24 May 2002 11:12:25 -0500

Anyway, After looking at the SMP and UP configuration in pgalloc.h, could
you simply remove the UP/SMP differentiation in the routines, as in my
attachment? It looks to me, that the struct for pgt_quicklist is built
correctly for UP or SMP above this? I could be wrong on this....

That would waste 3/4 of every page allocated for PGDs.

We use the pointers to keep track of which bits of the page
are allocated to PGDs. So how about rewriting our code to
use bits in page->flags instead?
-
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/