Build scatterlist covering a process' text segment?

Jonathan Neuschäfer j.neuschaefer at gmx.net
Fri Jun 17 15:00:18 EDT 2011


On Fri, Jun 17, 2011 at 08:46:35PM +0200, Jonathan Neuschäfer wrote:
> On Fri, Jun 17, 2011 at 06:18:06PM +0300, Metin KAYA wrote:
> > Jonathan, it's kmalloc(), not kcalloc().
> 
> No, I was trying to suggest using kcalloc(), which behaves roughly like
> the userspace calloc, and implements overflow checking, which you may
> need and zeroing, which you don't seem to need.

Arvid, not you, sorry.

Jonathan Neuschäfer



More information about the Kernelnewbies mailing list