Originally posted by caligula
View Post
Announcement
Collapse
No announcement yet.
Google Finally Shifting To "Upstream First" Linux Kernel Approach For Android Features
Collapse
X
-
Originally posted by jabl View Post
The situation is a bit different though. In the Linux world, Intel's main "customers" are IT admins, who will be very pissed off if they can't use the stock RHEL (or Ubuntu, or whatever) kernel. In the phone world, the customer is an OEM who will support a small number of device models with custom kernels built for each one, and having to add some patches as part of the build process is something the end user doesn't give a shit about.
Of course there is still plenty of benefits from working more closely with upstream, which is why this decade-long android upstreaming work has been going on. Seems they are slowly getting closer, which is to be applauded.
Leave a comment:
-
I don't understand how this will be possible considering how intrusive a change the HAL is. Literally Android system apis baked into the kernel, to the extent that the same kernel for a device will not boot two different major android versions.
Furthermore, the vendor specific stuff, like the bridges to the mobile side are huge. For example, qualcomms stuff in Aurora msm is simply enormous, and has it's own release cycle. I can't imagine all of it moving upstream.
Leave a comment:
-
Originally posted by CommunityMember View Post
I do not believe anyone believes 100% reliable execution in practice, but given the long lead times for most new designs/products, and the vast resources Google has available to it in order to succeed, getting the essential parts in the upstream kernel should be a reasonably achievable result (look towards Intel who tends to get new platform enablements into the kernel long before a new product ships, with the acknowledged occasional stumbles).
Of course there is still plenty of benefits from working more closely with upstream, which is why this decade-long android upstreaming work has been going on. Seems they are slowly getting closer, which is to be applauded.
- Likes 3
Leave a comment:
-
Originally posted by pal666 View Postyou are confused. google's business is to sell ads
Originally posted by pal666 View Postyou forgot microsoft openly admits it has no manpower to compete with linux kernel. windows kernel supports very little hardware, very little filesystems and in general sucks
Originally posted by pal666 View Postsmartphone is generic computer in small formfactor, most of your list is nonsense
- Likes 4
Leave a comment:
-
Originally posted by sinepgib View PostI forgot Windows is a myth.
Originally posted by sinepgib View PostPlus, when the purpose of your kernel is constrained you need a lot less manpower than what you need for something that's expected to be useful in many scenarios.
Leave a comment:
-
Originally posted by pal666 View Postidea that google can write non-linux kernel for android is crazy. it requires too much manpower for one company.
Plus, when the purpose of your kernel is constrained you need a lot less manpower than what you need for something that's expected to be useful in many scenarios.
Think this:
- You don't need SysV IPC, you use Binder for everything;
- You don't need a myriad of architectures, you can for example restrict to little endian, which covers pretty much all consumer hardware other than routers;
- You can go further and only implement ARM support (even if you need the design to be flexible enough to add other architectures later), because it'll run on cellphones only and x86 failed there;
- Drivers? Most of them are up to the OEM to provide;
- Filesystems? One for internal storage, FAT for interoperability;
- No memory hotplug;
- No huge number of network protocols, just Unix, TCP and UDP probably;
- No BPF or only the classic version in case you need to debug packet flow;
- No floppy, ATA, CD-ROM, KVM, etc...
Essentially, making a kernel for Android only means you no longer need to support a lot of stuff, and also that you can break a lot of things safely because you control the userspace too. That makes it much cheaper to develop it than you would think.
- Likes 4
Leave a comment:
-
Originally posted by birdie View PostMaintaining out of tree patches is bloody expensive due to Linux kernel developers' stable API nonsense mantra.
- Likes 1
Leave a comment:
-
Originally posted by sverris View PostWhy not switching to mainline Linux kernel entirely?
2023-2024: Reducing Technical Debt
○Upstream First Development model for new features
○Work toward upstreaming all out-of-tree patches in Android Common
Kernels
- Likes 1
Leave a comment:
Leave a comment: