Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 17:19:40 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: graphics on G4
Message-ID:  <48FE557C.5020207@freebsd.org>
In-Reply-To: <20081022050101.EKN14563@dommail.onthenet.com.au>
References:  <20081022050101.EKN14563@dommail.onthenet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Grehan wrote:
> Hi Justin,
>
>   
>>>  The framebuffer uses a large chunk of kernel VM when mmap'd.
>>> Are you able to dump some vm stats while doing this e.g.
>>> sysctl vm.kvm_free ?
>>>       
>
>  I shouldn't hit send before the morning coffee :( mmap'ing
> uses process VM, not kernel, except for the extra alloc's
> needed for this but these should all come from the non-KVA UMA
> small malloc area.
>   
One thing that worries me about our PMAP layer could cause this. This 
machine has a lot of RAM. What happens if we have physical or device 
memory in the same range as kmem VAs? It seems like trying to modify it 
through the BAT map (as zero/copy page, /dev/mem and friends do) will 
overwrite random bits of KVA instead...
-Nathan



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