lkml.org 
[lkml]   [2005]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: turn kmalloc+memset(,0,) into kcalloc
Adrian Bunk wrote:
>[...]
>>>On Tue, Apr 05, 2005 at 05:26:31PM +0100, Paulo Marques wrote:
>>
>>Hi Adrian,
>
> Hi Paolo,

Paulo, please :)

Paolo is Spanish (or Italian), whereas Paulo is a Portuguese name.

>>[...]
>>I think most will agree that the second piece of code is more "readable".
>
> In this case yes (but it could still use the normal kcalloc).

Yes, but the cleanup is already just barely justifiable. 75% (or more)
of the calls will use just one parameter. Adding a stupid "1" to all of
those will make the cleanup even less worth while.

>[...]
> Joerg's list of recursions should be valid independent of the kernel
> version. Fixing any real stack problems [1] that might be in this list
> is a valuable task.
>
> And "make checkstack" in a kernel compiled with unit-at-a-time lists
> several possible problems at the top.

Ok, I've read Jörn's mail also and I think I can help out. It seems
however that there are more people working on this. Will it be better to
coordinate so we don't duplicate efforts or is the "everyone looks at
everything" approach better, so that its harder to miss something?

--
Paulo Marques - www.grupopie.com

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke (1729 - 1797)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-08 18:28    [W:0.066 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site