On Sat, Jul 02, 2005 at 11:36:40AM -0700, Saravanan Jayakumar wrote:
| Hi,
|  I would like to understand the HAT layer with respect to the code and also 
if there any good docs.

There aren't any good documents out there yet.  The Solaris Internals book
has a brief overview of the HAT interfaces and a description of what they
do.  Things have changed somewhat since then with the introduction of
MPSS (superpages) but otherwise it's fairly close.

As far as the code I'd recommend starting with the x86 HAT layer which
was rewritten for Solaris 10.  It's a lot simpler and easier to
understand, and has lots of good comments.  The sfmmu HAT layer is
aging and is about due for a rewrite, and is a lot more complicated
due to the need to walk page tables in software from trap code.

The x86 HAT is under usr/src/uts/i86pc/vm and the sfmmu HAT (SPARC)
is under usr/src/uts/sfmmu/vm.

-- 
Eric Lowe       Solaris Kernel Development              Austin, Texas
Sun Microsystems.  We make the net work.                x64155/+1(512)401-1155
_______________________________________________
opensolaris-code mailing list
[EMAIL PROTECTED]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to