| Summary: | [pmap] [patch] minor incorrect code in sys/i386/i386/pmap.c | ||
|---|---|---|---|
| Product: | Base System | Reporter: | davidx <davidx> |
| Component: | i386 | Assignee: | David Xu <davidxu> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->davidxu Let David handle his own PRs. State Changed From-To: open->closed This is no longer needed for FreeBSD 6 and -CURRENT. |
pmap_init does not correctly use MINPV, patch is attached. Fix: /* * Now it is safe to enable pv_table recording.--3ytpCKUpuheupBcnXAhRZDAhy2N4eEtofOeGNiO3fukrFxZM Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- pmap.c.orig Mon Oct 22 13:52:13 2001 +++ pmap.c Mon Oct 22 13:52:25 2001 @@ -503,7 +503,7 @@ pvinit = (struct pv_entry *) kmem_alloc(kernel_map, initial_pvs * sizeof (struct pv_entry)); zbootinit(pvzone, "PV ENTRY", sizeof (struct pv_entry), pvinit, - vm_page_array_size); + initial_pvs);