diff options
author | alc <alc@FreeBSD.org> | 2004-03-07 21:06:48 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-03-07 21:06:48 +0000 |
commit | f13324f65bc2419a9196c4eca76e5e57c0d7fea5 (patch) | |
tree | 46fc651b1b10f7e2ee470193f457cfe495ed084a /sys/i386 | |
parent | a545780c51218e55facb66312587197d0f2ce9af (diff) | |
download | FreeBSD-src-f13324f65bc2419a9196c4eca76e5e57c0d7fea5.zip FreeBSD-src-f13324f65bc2419a9196c4eca76e5e57c0d7fea5.tar.gz |
Retire pmap_pinit2(). Alpha was the last platform that used it. However,
ever since alpha/alpha/pmap.c revision 1.81 introduced the list allpmaps,
there has been no reason for having this function on Alpha. Briefly,
when pmap_growkernel() relied upon the list of all processes to find and
update the various pmaps to reflect a growth in the kernel's valid
address space, pmap_init2() served to avoid a race between pmap
initialization and pmap_growkernel(). Specifically, pmap_pinit2() was
responsible for initializing the kernel portions of the pmap and
pmap_pinit2() was called after the process structure contained a pointer
to the new pmap for use by pmap_growkernel(). Thus, an update to the
kernel's address space might be applied to the new pmap unnecessarily,
but an update would never be lost.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/pmap.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 884f9ad..19fc440 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -1147,19 +1147,6 @@ pmap_pinit(pmap) } /* - * Wire in kernel global address entries. To avoid a race condition - * between pmap initialization and pmap_growkernel, this procedure - * should be called after the vmspace is attached to the process - * but before this pmap is activated. - */ -void -pmap_pinit2(pmap) - struct pmap *pmap; -{ - /* XXX: Remove this stub when no longer called */ -} - -/* * this routine is called if the page table page is not * mapped correctly. */ |