Pretty interesting read ....

http://www.dwheeler.com/essays/linux-kernel-cost.html