lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 08 Aug 2008 09:05:55 -0600
From:	"Chris Friesen" <cfriesen@...tel.com>
To:	Krzysztof Halasa <khc@...waw.pl>
CC:	Frans Meulenbroeks <fransmeulenbroeks@...il.com>,
	linux-kernel@...r.kernel.org
Subject: Re: including .c files ?

Krzysztof Halasa wrote:
> "Frans Meulenbroeks" <fransmeulenbroeks@...il.com> writes:
> 
> 
>>Generally I would expect that if the .c file contains some standalone
>>functionality then it should probably be a .c file on its own with a
>>well defined interface.
> 
> 
> Doesn't work when you need conditional compilation.

Sure it does...look at all the kernel Makefiles that compile code based 
on whether a config option is set.

In the case of the scheduler I suspect it's done to break a single 
logical file into several pieces for better readability.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists