Messages in this thread | | | Subject | Re: [PATCH] Autoregulate vm swappiness cleanup | From | Valdis.Kletnieks@vt ... | Date | Tue, 28 Oct 2003 10:39:43 -0500 |
| |
On Tue, 28 Oct 2003 09:39:53 EST, "Richard B. Johnson" said: > On Tue, 28 Oct 2003, Boszormenyi Zoltan wrote: > [SNIPPED...] > > > -rw-rw-r-- 1 zozo zozo 1090912 okt 27 22:54 interface.c > ^^^^^^^ > Guess you use `vim` to edit ...eh? > > Linux does have a good linker, you know. You don't need to put > everything in one file!
On the flip side, if there's a lot of routines all declared 'static' so they are only visible to that .c file, it's less than simple to split them out and tell the *rest* of the projects that 'routines in interface/*.c are visible to each other, but not to C code in database/*.c'.
The Linux kernel has the same issues:
% find . -name '*.[ch]' | xargs grep acpi_bus_unregister_driver
referenced only in drivers/acpi and one include file - but pollutes the global linkage namespace all the same. [unhandled content-type:application/pgp-signature] | |