SVNews r330510

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-05 15:10:17 - r330510 by jtl (jtl)

Complete list of files affected by revision r330510:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/amd64/amd64/pmap.c  

Commit message:

Prior to r329071, pmap_bootstrap() used pmap_kmem_choose() to round the
first available virtual address to a 2MB boundary. After r329071,
create_pagetables() rounds firstaddr up to a 2MB boundary. This ensures
the kernel is mapped in super-pages, which is the point of the logic
in pmap_kmem_choose(). Therefore, it is no longer necessary for
pmap_bootstrap() to round up to the 2MB boundary again.

As pmap_bootstrap() was the only user of pmap_kmem_choose(), we can
delete pmap_kmem_choose().

Reviewed by: kib
MFC after: 2 weeks
X-MFC-with: r329071
Sponsored by: Netflix
Differential Revision:


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 7 ms, 1 file printed. Current time is 2018-03-18 11:50:31. All times are in UTC/GMT.