lkml.org 
[lkml]   [2009]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH] kmemdup_from_user(): introduce
    >> +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 ..



    \
     
     \ /
      Last update: 2009-03-06 08:41    [W:0.020 / U:33.576 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site