Re: KGTP (Linux debugger and tracer) 20121204 release (bug fix anddoc update)

From: Pawel Suchanecki
Date: Mon Dec 10 2012 - 06:50:59 EST


2012/12/10 Hui Zhu <teawater@xxxxxxxxx>
>
> According to the comments of Christoph, Geoff and Andi. I make lite
> patch for review. Please goto https://lkml.org/lkml/2012/5/9/90 to
> see it.

The patch you sent for review used kmalloc/memset() combo but in your
SVN (the tag specified (20121204) and in trunk as well) it was already
converted to kcalloc().

However it looks like you could reduce kernel text by using kzalloc()
instead of kcalloc(1, ...) (everywhere you allocate just one entry).

This issue was described here: http://lwn.net/Articles/147014/.

Thanks,
Pawel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/