lkml.org 
[lkml]   [2005]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 23/29] FAT: Remove the multiple MSDOS_SB() call
    On Sun, Mar 06, 2005 at 03:56:51AM +0900, OGAWA Hirofumi wrote:
    >
    > Since MSDOS_SB() is inline function, it increases text size at each calls.
    > I don't know whether there is __attribute__ for avoiding this.

    If you mark it pure the compile should be smart enough to optimize way
    multiple invocations - heck for an inline it should be smart enough without
    annotaitons..

    Anyway, your new version looks much more readable.

    -
    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:10    [W:0.018 / U:29.840 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site