lkml.org 
[lkml]   [2005]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] remove redundant NULL checks before kfree() in drivers/video/

    >>...
    >
    >This is performance critical, so I would like the check to remain. A comment
    >may be added in this section.

    Hm, if we used Yoshifuji's inline kfree(), you'd get both. A check and a clean
    code. (Though I would not move kfree to __kfree, but make the inline variant
    explicitly different named.)



    Jan Engelhardt
    --
    -
    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-03-22 14:11    [W:0.019 / U:211.776 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site