Subject: Re: Multiple page sizes and the pmap API
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-kern
Date: 12/06/2001 17:37:15
i think we were talking about different cases..

	pmap_enter (pmap, 0x00010000, pa, ..., big_pagesize);
	pmap_enter (pmap, 0x00010100, pa, ..., small_pagesize);

vs:

	pmap_enter (pmap, 0x00010100, pa, ..., small_pagesize);
	pmap_enter (pmap, 0x00010000, pa, ..., big_pagesize);

i.e., "punching a hole" in a large page vs. overwriting and
consolidating a bunch of finer-grained mappings all at once..

We need to consider both cases.  The ideal case would be to push the
complexity off on upper layers..

						- Bill