On Monday 31 March 2008 01:02, Denys Vlasenko wrote: > Size difference for 32bit x86: > > text data bss dec hex filename > 6299 129 0 6428 191c linux-2.6-ALLYES/drivers/net/sb1000.o > 5418 129 0 5547 15ab linux-2.6.inline-ALLYES/drivers/net/sb1000.o > > (I also see some other optimization opportunities, > will test and send a patch separately). Here it is. It replaces automatic constant arrays a-la const unsigned char Command0[6] = {0x80, 0x16, 0x00, 0x00, 0x00, 0x00}; with static ones. Size difference for 32bit x86: text data bss dec hex filename 5418 129 0 5547 15ab linux-2.6.inline-ALLYES/drivers/net/sb1000.o 5396 129 0 5525 1595 linux-2.6.followup-ALLYES/drivers/net/sb1000.o Signed-off-by: Denys Vlasenko -- vda