Re: [PATCH] Autoregulate vm swappiness cleanup

Valdis.Kletnieks
2003-10-28T15:40:41Z

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

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.

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]