• Helge Deller's avatar
    parisc: Reduce kernel size by packing alternative tables · b148766e
    Helge Deller authored
    The values stored in the length and condition fields of the alternative
    tables fit into 16 bits, so we can save 4 bytes per alternative table
    entry.
    Since a typical 32-bit kernel has more than 3000 entries this
    saves > 12k of storage on disc.
    
    bloat-o-meter shows a reduction of -0.01% by this change:
    Total: Before=10196505, After=10195529, chg -0.01%
    
    $ ls -la vmlinux vmlinux.before
    -rwxr-xr-x  14437324 vmlinux
    -rwxr-xr-x  14449512 vmlinux.before
    Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    b148766e
alternative.c 3.3 KB