Date: Wed, 22 Mar 1995 20:48:30 GMT From: Daniel John Nye <daniel@nye1.demon.co.uk> To: Lambert@nye1.demon.co.uk, Terry@nye1.demon.co.uk, davidg@Root.COM Cc: current@FreeBSD.org, Wollman@nye1.demon.co.uk, Garrett@nye1.demon.co.uk Subject: Re: Re: Why does kern_lkm.c use kmem_alloc()? Message-ID: <268@nye1.demon.co.uk>
next in thread | raw e-mail | index | archive | help
In your message dated Monday 20, March 1995 you wrote : > >> 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 > > c00l, but how come i get sent this message.... -- ____ | _ \ __ _ _ __ _ __ _ _ | | | |/ _` | '_ \| '_ \| | | | | | | | ( | | | | | | | | | | | |____/ \__,_|_| |_|_| |_|\__, | *=-=*=-=*=-=*=-=*=-=*=-=*|___/-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=* Baby was a black sheep, baby was a whore.. You know she got big, well she's gonna get bigger.. Baby got her hand got her finger on the trigger, Baby baby baby is a rock & roll niggah! (Outside of society, there's where I wanna be! Outside of society, that's where you'll find me!) --------> BabyDan on IRC ---------> daniel@nye1.demon.co.uk or cs93djn@brunel.ac.uk (Daniel John Nye)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?268>