In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
With the development of the Internet, more and more people have entered the IT industry, so what is the difference between linux and android? You know what? In order to give you a better understanding of the difference between linux and android, the editor summarizes the following, let's read on.
The difference between linux and android
There are three differences:
1. Android does not have a local window system, while Linux has an X window system.
2. Android does not have glibc support, while Linux has glibc support.
3. Android has its own proprietary driver.
Although Android is based on the Linux kernel, it is still very different from Linux.
Extended data
Android proprietary driver
1. Android Binder is based on a driver of OpenBinder framework, which is used to provide inter-process communication (InterProcess Communication,IPC) function of Android platform. The source code is located in drivers/staging/android/binder.c.
2. Android Power Management (PM) A lightweight Linux power management driver based on the standard Android power management system, which makes a lot of optimizations for embedded devices. The source code is located at:
Kernel/power/earlysuspend.ckernel/power/consoleearlysuspend.ckernel/power/fbearlysuspend.ckernel/power/wakelock.ckernel/power/userwakelock.c
3. Low memory Manager (Low Memory Killer) is more flexible than Linux's standard OOM (Out Of Memory) mechanism. It can kill processes as needed to free up needed memory. The source code is located in drivers/staging/ android/lowmemorykiller.c.
4. Anonymous shared memory (Ashmem) provides large chunks of shared memory between processes, while providing a mechanism for the kernel to reclaim and manage this memory. The source code is located in mm/ashmem.c.
5. Android PMEM (Physical) PMEM is used to provide continuous physical memory area to user space. DSP and some devices can only work on continuous physical memory. The source code is located in drivers/misc/pmem.c.
6. Android Logger is a lightweight log device that grabs all kinds of logs of the Android system. The source code is located in drivers/staging/android/logger.c.
7. Android Alarm provides a timer for waking the device from sleep, and it also provides a clock benchmark that runs even when the device is sleeping. The source code is located in drivers/rtc/alarm.c.
8. USB Gadget driver is a device driver based on the standard Linux USB gadget driver framework, and the USB driver of Android is based on the gaeget framework. The source code is located in drivers/usb/gadget/.
9. Android Ram Console to provide debugging functionality, Android allows debug log information to be written to a device called RAM Console, which is a RAM-based Buffer. The source code is located at drivers/staging/android / ram_console.c.
10. Android timed device provides the function of timing control of the device, and currently supports vibrator and LED devices. The source code is located at drivers/staging/android / timed_output.c (timed_gpio.c).
The above is a brief introduction to what is the difference between linux and android. Of course, the differences in the detailed use of the above must be understood only after you have used them. If you want to know more, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.