Kamlesh Patel wrote: > Hi Friends, > > I am working on FreeBSD Virtual Memory improvement algorithm. > How VM allocate pages first time when system boot? > How phys_avail[] have values in sys/vm/vm_Page.c line 228? It's set by machine-dependent part of code. grep for phys_avail[] in i386/amd64/arm/etc..