Re: Build scatterlist covering a process' text segment?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Jonathan,

On Fri, Jun 17, 2011 at 11:46 AM, Jonathan Neuschäfer
<j.neuschaefer@xxxxxxx> 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.

Cool - I missed that somehow. So we now have kmalloc, kcalloc, and
kzalloc, and I see krealloc too.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux