Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 09:29:24 -0800
From:      David Schultz <dschultz@uclink.Berkeley.EDU>
To:        Gary Thorpe <gathorpe79@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: maxusers and random system freezes
Message-ID:  <20021206172924.GA18216@HAL9000.homeunix.com>
In-Reply-To: <20021206162935.14339.qmail@web41213.mail.yahoo.com>
References:  <20021206123440.GA16544@HAL9000.homeunix.com> <20021206162935.14339.qmail@web41213.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Gary Thorpe <gathorpe79@yahoo.com>:
> I have a question: does the entire KVA *have* to be mapped into the
> each process's address space? How much of the KVA does a process need
> to communicate with the kernel effectively?

No, it doesn't have to be that way.  An alternative organization
is one in which the kernel has its own address space, and some
operating systems have done that.  Unfortunately, that approach
requires special tricks to copy data between user processes and
the kernel, and since such copies are a bottleneck anyway, it's
undesirable to make them even slower.

Some architectures provide special instructions that allow the
kernel to move data between address spaces relatively efficiently,
but there's still a penalty.  On the other end of the spectrum,
people are designing operating systems for 64-bit architectures
where everything fits into one address space (e.g. `Mungi'),
minimizing context switch overhead and simplifying sharing.  The
idea isn't really new, however.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021206172924.GA18216>