Messages in this thread | | | Date | Fri, 29 Oct 2004 06:58:58 +0200 | From | Andi Kleen <> | Subject | Re: Userspace ACPI interpreter ( was RE: [ACPI] [RFC] dev_acpi: support for userspace access to acpi) |
| |
> [ It would be sort of neat if we could built the core ACPI support in > some kind of modular way such that that we could have it at boot-time, > if we need it, but optionally unload it at run-time if it turned out the > target system didn't need it. ]
It would be possible with some Makefile hacks. Basically you would need to objcopy the ACPI object files and rename .text*/.data* to a different acpi specific name. Then you can give it an special area in the vmlinux.lds and possibly free it.
I agree with you that it's better kept in the kernel.
> Static Kernel Size: > text data bss dec hex filename > 144533 5608 4920 155061 25db5 drivers/acpi/built-in.o
Hmm, this used to be smaller, no? Perhaps someone going over bloat-o-meter[1] output to an older version would be useful. There is probably some low hanging fruit.
-Andi
[1] ftp://ftp.firstfloor.org/pub/ak/perl/bloat-o-meter
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |