Re: [PATCH 12/20] ACPI: thinkpad-acpi: use bitfields for module flags

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

 



On Saturday 21 April 2007 10:08, Henrique de Moraes Holschuh wrote:
> Use a bitfield to hold boolean module-wide flags, to conserve some memory.
> It is easy and it is clean, so we do it just for the heck of it even if it
> saves very little space.

I think that is an under-statement.
This plus the patch before it actually increase text size
for a static size change of 0.

-Len

before:
   text    data     bss     dec     hex filename
  24002    3286     728   28016    6d70 drivers/misc/thinkpad_acpi.o

after
   text    data     bss     dec     hex filename
  24082    3270     664   28016    6d70 drivers/misc/thinkpad_acpi.o




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

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux