Re: [RFC][PATCH] kmemdup_from_user(): introduce

From: Li Zefan
Date: Fri Mar 06 2009 - 02:39:32 EST


>> +void *kmemdup_from_user(const void __user *src, size_t len, gfp_t gfp)
>> +{
>> + void *p;
>> +
>> + p = kmalloc_track_caller(len, gfp);
>
> Well, you use kmalloc_track_caller, instead of kmalloc as you showed
> above. :) Why don't you mention this?
>

Because this changelog is not going to explain what kmalloc_track_caller()
is used for, which has been explained in linux/slab.h ..

--
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/