]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r273701, r274556
authoralc <alc@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 2 Jan 2015 17:45:52 +0000 (17:45 +0000)
committeralc <alc@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 2 Jan 2015 17:45:52 +0000 (17:45 +0000)
commit0f0346f9e9d8fc77d6f7006a35a019eb093889bf
treefa41565eff257f888b11c0e324e0bc2f147f72ad
parent34de1cf30fb4b9bf10719e803a7a2b15ae22162f
MFC r273701, r274556
  By the time that pmap_init() runs, vm_phys_segs[] has been initialized.
  Obtaining the end of memory address from vm_phys_segs[] is a little
  easier than obtaining it from phys_avail[].

  Enable the use of VM_PHYSSEG_SPARSE on amd64 and i386, making it the
  default on i386 PAE.  (The use of VM_PHYSSEG_SPARSE on i386 PAE saves
  us some precious kernel virtual address space that would have been
  wasted on unused vm_page structures.)

git-svn-id: svn://svn.freebsd.org/base/stable/10@276546 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/pmap.c
sys/arm/arm/pmap-v6.c
sys/i386/i386/pmap.c
sys/i386/include/vmparam.h
sys/vm/vm_page.c
sys/vm/vm_phys.c
sys/vm/vm_phys.h