lkml.org 
[lkml]   [2003]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Autoregulate vm swappiness cleanup
From
Date
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]
\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.230 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site