Am Dienstag, 14. Juli 2015, 00:47:42 schrieb Greg KH: > On Tue, Jul 14, 2015 at 12:44:09AM +0200, Peter Huewe wrote: > > and mark them as static inline. > > This shrinks the compiled module from 137442 to 117732 bytes and we also > > get rid of vb_util.c > > How is making these inline making the code go down in size? Usually > it's the opposite way around. This is odd, any idea what is causing it? Yes, usually that is true - but I guess since the outb/inb are quite small in terms of assembler (simple mov? on x86) the overhead is much smaller when inlining these functions than to setup the call with two values on the stack. Thanks, Peter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel