https://android.stackexchange.com/questions/47650/what-is-the-difference-between-the-linux-kernel-and-the-android-kernel



6 down vote


The differences change from version to version (both of Linux and of Android), and the exact kernel is different for each device. A kernel for Android is a mainstream Linux kernel, with additional drivers for the specific device, and other additional functionality, such as enhanced power management or faster graphics support.

Many features in the Android kernel are later added to upstream Linux after the open-source community has accepted (and perhaps modified) them, but others are never upstreamed, either because they're not acceptable to the Linux kernel developers, or because they're only applicable to Android or to specific hardware.




 



add a comment

share improve this answer


Jun 20 '13 at 19:11






Dan Hulme

29.1k 10 60 115





What is the difference between the Linux Kernel and the Android Kernel?_android




up vote 5 down vote


Beside the device specific differences and wake lock that Dan Hulme and Lie Ryan mentions, Android removed System V IPC features (message queues, shared memory segments, semaphores) that could lead to resource leaks (http://www.kandroid.org/ndk/docs/system/libc/SYSV-IPC.html). This probably is just a matter of configuring the kernel build. Also the Android IPC of choice, called Binder, has some support in the kernel that to my knowledge is not included in standard Linux kernels.



share improve this answer




6 down vote


The differences change from version to version (both of Linux and of Android), and the exact kernel is different for each device. A kernel for Android is a mainstream Linux kernel, with additional drivers for the specific device, and other additional functionality, such as enhanced power management or faster graphics support.

Many features in the Android kernel are later added to upstream Linux after the open-source community has accepted (and perhaps modified) them, but others are never upstreamed, either because they're not acceptable to the Linux kernel developers, or because they're only applicable to Android or to specific hardware.



 


add a comment

share improve this answer


Jun 20 '13 at 19:11






Dan Hulme

29.1k 10 60 115



What is the difference between the Linux Kernel and the Android Kernel?_android



up vote 5 down vote


Beside the device specific differences and wake lock that Dan Hulme and Lie Ryan mentions, Android removed System V IPC features (message queues, shared memory segments, semaphores) that could lead to resource leaks (http://www.kandroid.org/ndk/docs/system/libc/SYSV-IPC.html). This probably is just a matter of configuring the kernel build. Also the Android IPC of choice, called Binder, has some support in the kernel that to my knowledge is not included in standard Linux kernels.



share improve this answer