[lkml]   [2008]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: bootmem allocator

* Cyrill Gorcunov <> wrote:

> Hi Ingo, Peter,
> small question. It was a patch recently posted which removes memset(x,
> 0, x) after __alloc_bootmem call. There are a few another code
> snippets who still call memset(x, 0, x). And who is responsible for
> memory clearing? bootmem allocator or caller?

hm, bootmem allocator is supposed to clear memory. We have a couple of
places that rely on that.


 \ /
  Last update: 2008-04-07 21:11    [W:0.077 / U:1.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site