On Thu, 2015-03-05 at 11:25 -0800, Alexander Duyck wrote: > While addressing the pin problem I noticed that all of the pin > register > values where having to be pushed onto the stack each time the function > was > called. To avoid that I am making them static const so that they > should > only need to be allocated once and we can avoid all the instructions > to get > them onto the stack.. > > size before: > text data bss dec hex filename > 161477 10512 8 171997 > 29fdd drivers/net/ethernet/intel/igb/igb.ko > > size after: > text data bss dec hex filename > 161205 10512 8 171725 > 29ecd drivers/net/ethernet/intel/igb/igb.ko > > Signed-off-by: Alexander Duyck <alexander.h.du...@redhat.com> > --- > drivers/net/ethernet/intel/igb/igb_ptp.c | 24 > ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-)
Thanks Alex, I have added your patch to my queue.
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired