Re: [Patch 1/3] Reclaim pmd and pte entries to quicklists.

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2005-03-03 05:43:41
>>>>> On Wed, 2 Mar 2005 12:33:25 -0600, Robin Holt <holt@sgi.com> said:

  >> I wasn't suggesting to support multiple sizes, just to add a
  >> BUG_ON(size != PAGE_SIZE) or something like that.

  Robin> What is the motivation for this?

To make the kernel more resilient against inconsistencies.  Sure, it
won't be perfect, but while mucking with it anyway, why not improve
it?  Me thinks you'd want something along the lines of:

pgd_alloc:

	...
	pgd = alloc_one_fast(mm, PTRS_PER_PGD * sizeof(pgd_t));
	...

Isn't this clearer?

	--david
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Mar 2 13:46:17 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:36 EST