NetBSD Problem Report #9979

Received: (qmail 3798 invoked from network); 25 Apr 2000 11:05:07 -0000
Message-Id: <20000424030701.2B9327EEF@fish-dances.eterna.com.au>
Date: Mon, 24 Apr 2000 13:07:01 +1000 (EST)
From: mrg@cygnus.com
Reply-To: mrg@cygnus.com
To: gnats-bugs@gnats.netbsd.org
Subject: uvm(9) confusion and missing descriptions
X-Send-Pr-Version: 3.95

>Number:         9979
>Category:       kern
>Synopsis:       uvm(9) confusion and missing descriptions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    chs
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 25 11:06:00 +0000 2000
>Closed-Date:    Thu Oct 20 15:13:14 +0000 2005
>Last-Modified:  Thu Oct 20 15:13:14 +0000 2005
>Originator:     matthew green
>Release:        20010321
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:

System: NetBSD fish-dances.eterna.com.au 1.4X NetBSD 1.4X (_fish_) #20: Sun Apr 16 04:27:56 EST 2000 mrg@fish-dances.eterna.com.au:/var/_fish_ i386


>Description:

	while reading some kernel code, i noticed that the calls:
		uvm_km_suballoc()
		uvm_km_free()
		uvm_km_free_wakeup()
	are given prototypes in uvm.9 but there is no description of what
	these calls do.

	also, while attempting to understand the Alpha bus_dma
	implementation, i noticed that it uses uvm_km_valloc() to
	allocate kernel memory without actually allocating or mapping
	any pages.  the description for this is not quite clear on
	this and that it can be used to allocate some space in the
	kernel map for someone else to load pages into (eg, the
	bus_dmamem_map() function :-)

>How-To-Repeat:

	see above.
>Fix:

	write the descriptions and expand the valloc() one.  this PR
	is mostly a place holder so that myself or someone else doesn't
	forget to do it eventually.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->chs 
Responsible-Changed-By: fair 
Responsible-Changed-When: Wed Mar 21 18:50:31 PST 2001 
Responsible-Changed-Why:  
Chuck Silvers is our UVM expert. 
State-Changed-From-To: open->closed
State-Changed-By: chs@netbsd.org
State-Changed-When: Thu, 20 Oct 2005 15:13:14 +0000
State-Changed-Why:
yamt updated this manpage a while back.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.