Messages in this thread | | | Date | Fri, 8 Sep 2006 18:50:43 -0700 | From | Andrew Morton <> | Subject | Re: [RFC 1/2] kmemdup: introduce |
| |
On Sat, 9 Sep 2006 05:35:55 +0400 Alexey Dobriyan <adobriyan@gmail.com> wrote:
> P.S.: No idea why kstrdup() and kzalloc() use _____________kmalloc(),
It's all to do with slab debugging and __kmalloc_track_caller(): we want to record the _caller_ of kstrdup() within the slab object rather than kstrdup() itself. - 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/
| |