In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What is Linux?
Linux, whose full name is GNU/Linux, is a set of Unix-like operating system that is free to use and spread freely. It is a multi-user, multi-task, multi-thread and multi-CPU operating system based on POSIX and Unix. With the development of the Internet, Linux has received support from software enthusiasts, organizations and companies all over the world. In addition to maintaining a strong momentum of development in servers, it has made great progress in personal computers and embedded systems. Users can not only intuitively obtain the implementation mechanism of the operating system, but also modify and improve Linux according to their own needs to maximize meet the needs of users.
What is Android?
Android is a free and open source operating system based on the Linux kernel (without GNU components). Mainly used in mobile devices, such as smartphones and tablets, led and developed by Google and the Open Mobile Alliance. The Android operating system was originally created by Andy
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 the support of glibc, while Linux has the support of glibc.
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).
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.