Holger Berger wrote:
To make matters worse, Solaris (unlike many other
OS's) ties page_t structures to particular physical
addresses, and there is plenty of code that assumes
p_pagenum can't change even if the page isn't locked.
This complicates the issues of separating out the
"page size" the user sees and the "page size" the
kernel is using to manage physical memory.

I assume this is no problem when the default page size is equal to the minimum 
page size supported by the kernel.
A kernel which only supports 64k+ page sizes will avoid page_t related 
headaches .

That's correct, though there were some pretty sticky issues with MAXBSIZE since the filesystems (UFS, probably others) assume (wrongly) that MAXBSIZE is PAGESIZE. Obviously when you up the PAGESIZE this isn't true anymore, so some code had to be added to make the filesystem understand that a page doesn't hold a single block, but can hold multiple blocks.

- Eric
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to