From: Przemek Klosowski <przemek@rrdjazz.nist.gov>
Subject: Re: Wildfire and NT
Date: 1998/03/02 [thread overview]
Message-ID: <547m6dkqxz.fsf@rrdjazz.nist.gov> (raw)
In-Reply-To: xofg1l13y8u.fsf@gwyn.tux.org
Joel Gallun <joel@gwyn.tux.org> writes:
> phkahler@oakland.edu (Paul Kahler) writes:
>
> > The linux kernel was written by talented programmers. It's the 300,000
> > line program that got written in 30,000 :-)
>
> /usr/src/linux> (find . -name '*.[chSs]' -exec cat {} \;)|wc -l
> 815720
>
> Looks like you are off by an order of magnitude. Linux 2.0.33
That isn't a fair metric; it counts all architectures, and all possible drivers.
I propose this:
/usr/src/linux> for a in arch/* [b-z]* ; do echo -n $a ; (find $a -name '*.[chSs]' -exec cat {} \;)|wc -l ; done
to obtain the followint result (2.0.32)
arch/alpha 12062
arch/i386 29414
arch/m68k 59494
arch/mips 7705
arch/ppc 10939
arch/sparc 21771
drivers 446492
fs 68177
include 43496
init 1078
ipc 2405
kernel 7282
lib 1829
mm 7051
net 56845
scripts 5359
So, we see that the majority of code is in hardware drivers, with
significant chunks in handling foreign filesystems (18 are supported
by Linux!---win(4)/mac/os2/bsd/cdrom/nfs) network, etc.
If we count the 'microkernel' part (kernel, memory management, ipc,
initialization, ext2 filesystem, and architecture from say i386,
excluding the math coprocessor emulation) is around 35-40 kLOC, for
whatever it is worth.
--
przemek klosowski <przemek@nist.gov> (301) 975-6249
NIST Center for Neutron Research (bldg. 235), E111
National Institute of Standards and Technology
Gaithersburg, MD 20899, USA
.. and for spam extractors, FCC Commisioners' email is:
wkennard@fcc.gov,sness@fcc.gov,pmisener@fcc.gov,mpowell@fcc.gov
next prev parent reply other threads:[~1998-03-02 5:00 UTC|newest]
Thread overview: 128+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-23 5:00 Wildfire and NT Robert Harley
1998-02-24 5:00 ` brianh
1998-02-24 5:00 ` Bill Moyer
1998-02-25 5:00 ` Larry Kilgallen
1998-02-25 5:00 ` brianh
1998-02-25 5:00 ` Epiphanies (was: Wildfire and NT) Carlie Coats
1998-02-25 5:00 ` Wildfire and NT John Hascall
1998-02-25 5:00 ` Rob Rodgers
1998-02-24 5:00 ` David Hinds
1998-02-25 5:00 ` Del Cecchi
1998-02-25 5:00 ` brianh
1998-02-24 5:00 ` Sean Burke
1998-02-25 5:00 ` brianh
1998-02-25 5:00 ` Maynard Handley
1998-02-25 5:00 ` Mike Albaugh
1998-02-25 5:00 ` [++] Tight coding (Was: Re: Wildfire and NT) Terje Mathisen
1998-02-28 5:00 ` Piercarlo Grandi
1998-03-01 5:00 ` [++] Tight coding Bill Moyer
1998-03-01 5:00 ` Ruud Bruijnesteijn
1998-03-01 5:00 ` scott
1998-03-02 5:00 ` Martin Tom Brown
1998-03-02 5:00 ` Terry Moore
1998-03-02 5:00 ` Pete Becker
1998-03-03 5:00 ` Ruud Bruijnesteijn
1998-03-03 5:00 ` Pete Becker
1998-03-04 5:00 ` Terry Moore
1998-03-03 5:00 ` Pete Becker
1998-03-04 5:00 ` Ruud Bruijnesteijn
1998-03-02 5:00 ` Kaz Kylheku
1998-03-02 5:00 ` Kaz Kylheku
1998-03-01 5:00 ` Larry Kilgallen
1998-03-01 5:00 ` [++] Tight coding (comp.sys.dec-only thread) Bill Moyer
1998-03-02 5:00 ` [++] Tight coding Peter Moylan
1998-03-02 5:00 ` Martin Harvey
1998-03-02 5:00 ` Scott Fluhrer
1998-03-02 5:00 ` Kaz Kylheku
1998-03-02 5:00 ` Lawrence Kirby
1998-03-02 5:00 ` Peter Moylan
1998-03-02 5:00 ` Kaz Kylheku
1998-03-02 5:00 ` Ketil Z Malde
1998-03-04 5:00 ` Lyn A Headley
1998-03-03 5:00 ` Lawrence Kirby
1998-03-03 5:00 ` Larry Kilgallen
1998-02-25 5:00 ` Wildfire and NT Bernd Paysan
1998-02-25 5:00 ` brianh
1998-02-26 5:00 ` Doug
1998-02-26 5:00 ` Jeffrey S. Dutky
1998-02-26 5:00 ` Bernd Paysan
1998-02-27 5:00 ` brianh
1998-03-01 5:00 ` Ketil Z Malde
1998-02-27 5:00 ` Paul Kahler
1998-03-02 5:00 ` Joel Gallun
1998-03-02 5:00 ` Przemek Klosowski [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-02-25 5:00 Robert Harley
1998-02-25 5:00 ` brianh
1998-01-29 5:00 Rob Young
1998-01-29 5:00 ` jf mezei
1998-01-30 5:00 ` Andrew Harrison SUNUK Consultancy
1998-01-30 5:00 ` David Cherkus
1998-01-31 5:00 ` Ian Kemmish
1998-01-31 5:00 ` David Hinds
1998-02-02 5:00 ` Andrew Harrison SUNUK Consultancy
1998-02-02 5:00 ` Nik Simpson
1998-02-02 5:00 ` Larry Kilgallen
1998-02-04 5:00 ` Justin Banks
1998-02-04 5:00 ` Andrew Harrison SUNUK Consultancy
1998-02-04 5:00 ` Nik Simpson
1998-02-04 5:00 ` Andrew Harrison SUNUK Consultancy
1998-02-04 5:00 ` Brian Steele
1998-02-07 5:00 ` Doug Siebert
1998-02-08 5:00 ` Mark Hahn
1998-02-09 5:00 ` Rupert Pigott
1998-02-08 5:00 ` Mark Bonatucci
1998-02-11 5:00 ` Nik Simpson
1998-02-12 5:00 ` Andrew Harrison SUNUK Consultancy
1998-02-12 5:00 ` Nik Simpson
1998-02-12 5:00 ` Andrew Harrison SUNUK Consultancy
1998-02-12 5:00 ` Emil Briggs
1998-02-12 5:00 ` J. Buck Caldwell
1998-02-13 5:00 ` Ketil Z Malde
1998-02-13 5:00 ` Nik Simpson
1998-02-14 5:00 ` bgInc. -- Choice is overrated
1998-02-13 5:00 ` Jonas Persson
1998-02-12 5:00 ` Michael Zarudzki
1998-02-13 5:00 ` Andy Glew
1998-02-18 5:00 ` billy
1998-02-19 5:00 ` Terry Shannon
1998-02-20 5:00 ` Charlie Byrne
1998-02-21 5:00 ` Tony Griffiths
1998-02-21 5:00 ` Alex Colvin
1998-02-23 5:00 ` Del Cecchi
1998-02-24 5:00 ` Eric Hildum
1998-02-21 5:00 ` Gints Klimanis
1998-02-21 5:00 ` Serge Pachkovsky
1998-02-23 5:00 ` brianh
1998-02-24 5:00 ` Eric Hildum
[not found] ` <34F2520F.FC9D8D54@sgi.com>
1998-02-24 5:00 ` Eric Hildum
1998-02-23 5:00 ` Gints Klimanis
1998-02-25 5:00 ` Bernd Paysan
1998-02-24 5:00 ` Graeme Gill
1998-02-27 5:00 ` Paul Kahler
1998-03-02 5:00 ` brianh
1998-03-03 5:00 ` Bernd Paysan
1998-03-05 5:00 ` Scott Hess
1998-03-05 5:00 ` Gints Klimanis
1998-03-06 5:00 ` Bernd Paysan
1998-03-09 5:00 ` Jan Vorbrueggen
1998-03-09 5:00 ` Gints Klimanis
1998-03-11 5:00 ` PJ
1998-03-12 5:00 ` Scott Hess
1998-03-24 5:00 ` Peter Seebach
1998-02-21 5:00 ` Mike Haertel
1998-02-21 5:00 ` Terry Shannon
1998-02-23 5:00 ` Eric Hildum
1998-02-26 5:00 ` Alan Deikman
1998-02-25 5:00 ` boris
1998-02-25 5:00 ` Larry Kilgallen
1998-02-25 5:00 ` bgInc. -- Choice is overrated
1998-02-26 5:00 ` Mr. X
1998-01-31 5:00 ` Anil Thomas Maliyekkel
1998-02-06 5:00 ` Terry Shannon
1998-01-30 5:00 ` Larry Kilgallen
1998-02-01 5:00 ` Bengt Larsson
1998-02-02 5:00 ` Andrew Harrison SUNUK Consultancy
1998-02-02 5:00 ` Anil Thomas Maliyekkel
1998-02-03 5:00 ` Bengt Larsson
1998-02-02 5:00 ` Stefan Monnier
1998-02-04 5:00 ` mulp - cluster buster
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox