Date: Mon, 20 Mar 1995 14:37:27 -0500 From: Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu> To: FreeBSD-Current Mailing List <current@FreeBSD.org> Subject: Why does kern_lkm.c use kmem_alloc()? Message-ID: <9503201937.AA27595@halloran-eldar.lcs.mit.edu>
next 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'.) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503201937.AA27595>