VJHC code changes and whitespace removals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm pushing a change to elkscmd/ktcp/vjhc.* that moves various encode/decode functions specified as macros in vjhc.h into vjhc.c as functions. This will slightly reduce VJHC performance due to function call overhead but it cuts code size in vjhc.o by 21%, saving about 2.6K in the final binary:

$ size86 vjhc.o*
text    data    bss     dec     hex     filename
12576   14      34      12624   3150    vjhc.o
9913    14      34      9961    26e9    vjhc.o.new

$ size86 ktcp*
text    data    bss     dec     hex     filename
33296   916     8176    42388   a594    ktcp.old
30640   916     8176    39732   9b34    ktcp.new

If anyone uses SLIP with VJHC, please test this change to make sure it didn't break anything.

I've also used sed to kill off trailing whitespace in the entire elks/elkscmd code base. Let me know if this messed anything up; my tests after doing this were OK.

-Jody
--
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Linux ia64]     [DCCP]     [Linux for ARM]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux