Hi All,
This is a bit "off subject", but I have had many clients and other folks
ask me the line count of the Linux Kernel - so I thought you may be
interested too. I've never found a comprehensive set of numbers
anywhere, so I decided to run a few scripts --- and here are the results
(in both text and Excel "xls" formats).
Sorry to have bothered you if you aren't interested.
Cheers,
Lyle
--
Lyle Bickley | Bickley Consulting West Inc.
[EMAIL PROTECTED] |
[EMAIL PROTECTED] | V 650-428-0621
http://bickleywest.com/ | F 650-428-0599
"Black holes exist where GOD is dividing by zero"
Bickley Consulting West Inc. Linux Kernel 2.2.16 7/28/00
[EMAIL PROTECTED]
Platform Specific Lines of Code* Functional Components Lines of Code*
i386 Network Drivers 280,107
*.c 27,602
*.S 8,883 Network Stacks/Protoc 152,219
Total 36,485
Block I/O Drivers 59,317
alpha
*.c 26,241 Character Drivers 167,839
*.S 3,805
Total 30,046 SCSI Drivers 222,027
sparc All other Drivers 396,373
*.c 31,710
*.S 12,668 Filesystems 184,280
Total 44,378
All Other 25,842
mips
*.c 29,270 Total Func. Component 1,488,004
*.S 5,574
Total 34,844
Total Kernel 1,804,786
ppc
*.c 39,790
*.S 5,436
Total 45,226
m68k
*.c 27,400
*.S 21,780
Total 49,180
sparc64
*.c 33,692
*.S 8,344
Total 42,036
arm
*.c 8,295
*.S 7,347
Total 15,642
s390
*.c 16,517
*.S 2,428
Total 18,945
Total Hdwe. Spec. 316,782
Notes: *.c files are "C" language
*.S files are assembly langage
Comments count as lines of code
Documentation files NOT included
Linuxlinecount.xls