> How is the variable "freemem" setup for the first time? It is updated each
> clock tick but is there an initialization of it at startup?

Here's the trail to follow:

kphysm_init()
        add_physmem()
                page_free_at_startup()
                        freemem += 1

-Mike

-- 
Mike Shapiro, Solaris Kernel Development. blogs.sun.com/mws/
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to