Alan Cox d4da2dbae6 Fix the following problem:
When creating new processes (or performing exec), the new page
directory is initialized too early.  The kernel might grow before
p_vmspace is initialized for the new process.  Since pmap_growkernel
doesn't yet know about the new page directory, it isn't updated, and
subsequent use causes a failure.

The fix is (1) to clear p_vmspace early, to stop pmap_growkernel
from stomping on memory, and (2) to defer part of the initialization
of new page directories until p_vmspace is initialized.

PR:		kern/12378
Submitted by:	tegge
Reviewed by:	dfr
1999-07-21 18:02:27 +00:00
..
1999-07-21 18:02:27 +00:00
1999-07-21 18:02:27 +00:00
1998-02-06 12:14:30 +00:00
1999-07-21 18:02:27 +00:00
1999-07-10 18:16:08 +00:00
1999-06-05 18:21:53 +00:00
1999-01-10 01:58:29 +00:00
1999-01-10 01:58:29 +00:00