summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_glue.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-09-03 05:11:32 +0000
committeralc <alc@FreeBSD.org>2004-09-03 05:11:32 +0000
commit82e55fdf7687982550eb5f4127031095fdf8d75a (patch)
tree354bad52910b678ed5b43b366707bc35dc3371aa /sys/vm/vm_glue.c
parent5aa2eb98b7e705cdbac165895e81d5e4bd6b5453 (diff)
downloadFreeBSD-src-82e55fdf7687982550eb5f4127031095fdf8d75a.zip
FreeBSD-src-82e55fdf7687982550eb5f4127031095fdf8d75a.tar.gz
Push Giant deep into vm_forkproc(), acquiring it only if the process has
mapped System V shared memory segments (see shmfork_myhook()) or requires the allocation of an ldt (see vm_fault_wire()).
Diffstat (limited to 'sys/vm/vm_glue.c')
-rw-r--r--sys/vm/vm_glue.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index 7893012..9d5fa42 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -619,8 +619,6 @@ vm_forkproc(td, p2, td2, flags)
{
struct proc *p1 = td->td_proc;
- GIANT_REQUIRED;
-
if ((flags & RFPROC) == 0) {
/*
* Divorce the memory, if it is shared, essentially
OpenPOWER on IntegriCloud