News for hackers. Stuff that matters.
Re:AMD Open-Source GPU Kernel Driver Above 5M Lines, Entire ... by tiffanyh on Thursday August 31, 2023 @03:02PM (#37342152)
As a comparison:

  FreeBSD: ~9M loc
  NetBSD:  ~7M loc
  OpenBSD: ~3M loc
And this includes the base userland (not just kernel)

https://www.csoonline.com/article/564373/is-the-bsd-os-dying...

Re:AMD Open-Source GPU Kernel Driver Above 5M Lines, Entire ... by rjsw on Thursday August 31, 2023 @03:30PM (#37342492)
NetBSD currently contains an older version of this driver, from Linux 5.6. Checking just now it comes to 2.2M loc. Running the same test on the Linux 6.4 source tree, does give me the reported 5M loc.

Maybe the figures you quote exclude things imported from elsewhere like gcc and llvm, I get a figure of 75M loc for base + kernel of NetBSD-10.