Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 1995 13:46:01 -0800
From:      David Greenman <davidg@Root.COM>
To:        terry@cs.weber.edu (Terry Lambert)
Cc:        wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman), current@FreeBSD.org
Subject:   Re: Why does kern_lkm.c use kmem_alloc()? 
Message-ID:  <199503202146.NAA02245@corbin.Root.COM>
In-Reply-To: Your message of "Mon, 20 Mar 95 14:20:56 MST." <9503202120.AA03028@cs.weber.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> Can anybody explain why kern_lkm.c uses kmem_alloc() to allocate
>> memory rather than malloc()?  Is it just because of the kernel
>> malloc()'s size limit?  (I'd really like for it to use malloc so that
>> I could tell how much memory is occupied by LKMs from `vmstat -m'.)
>
>Contiguous driver buffer space for DMA target.

   Contiguous? You mean _physically_ contiguous memory? kmem_alloc() has never
tried to return that.

-DG



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