[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1158572453.6069.85.camel@localhost.localdomain>
Date: Mon, 18 Sep 2006 10:40:52 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Om Narasimhan <om.turyx@...il.com>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...ts.osdl.org
Subject: Re: kmalloc to kzalloc patches for drivers/base
Ar Sul, 2006-09-17 am 17:53 -0700, ysgrifennodd Om Narasimhan:
> Tested by compiling.
>
> Signed off by Om Narasimhan <om.turyx@...il.com>
> - if (!(retval = kmalloc (sizeof *retval, SLAB_KERNEL)))
> + if (!(retval = kzalloc (sizeof *retval, SLAB_KERNEL)))
> return retval;
NAK
Why slow all these allocations down when they don't zero the memory
anyway ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists