News for hackers. Stuff that matters.
Re:Moving Google toward the mainline by yegle on Tuesday October 05, 2021 @11:18PM (#28768774)
As an example, cgroup was initially developed in Google: https://en.wikipedia.org/wiki/Cgroups
Re:Moving Google toward the mainline by menage on Wednesday October 06, 2021 @12:03AM (#28769065)
Cgroups is a great example of the problems faced here.

The cgroups code/API that made it into the upstream kernel was the product of a couple of years of internal experimentation at Google into ways to do kernel-level resource isolation, and was pretty different from the approach that was used internally in production on a rather older kernel version. (A bit like Borg vs Kubernetes). And it still took a couple more years for cgroups to replace the original internal mechanisms, since the internal way worked OK and upgrading the kernel across so many machines was risky.

Re:Moving Google toward the mainline by dralley on Wednesday October 06, 2021 @05:06PM (#28778406)
And now we have CgroupsV2 to fix all of the issues with the original
Re:Moving Google toward the mainline by catern on Tuesday October 05, 2021 @11:59PM (#28769039)
Yes, and it shows (it's notoriously poorly designed)
Re:Moving Google toward the mainline by renewiltord on Wednesday October 06, 2021 @12:21AM (#28769161)
But it has the best design property of software: it exists and works in production.
Re:Moving Google toward the mainline by pjmlp on Wednesday October 06, 2021 @02:11AM (#28769771)
That is what I tell myself when I get to review offshoring code.
Re:Moving Google toward the mainline by GolDDranks on Wednesday October 06, 2021 @12:18AM (#28769143)
Is Google notorious from poor design, or is there some other reason why cgroup being poorly designed would have to do it being designed by Google?
Re:Moving Google toward the mainline by catern on Wednesday October 06, 2021 @08:55AM (#28772540)
When it comes to Linux kernel work, yes.
Re:Moving Google toward the mainline by pjmlp on Wednesday October 06, 2021 @02:11AM (#28769766)
From Android point of view, poor design.