A few questions regarding the Android kernel

I am new to the Android kernel and mobile operating systems, and I have a few questions regarding the Android kernel.

1) Does Android OS have kernel mode and user mode, for example, regular desktop OS? Does it support things like virtual memory? I also heard about Dalvik VMM. Is a dalvik VMM copy created for each process?

2) Another question: I heard that android creates a separate file system for each process (each application). It's true? If so, how does the OS support these file systems and where are they installed. Does it have a hierarchy such as Unix-based systems?

3) Another question is about IPC in android. What are binders in android? How does it differ from conventional IPC mechanisms such as pipes, message queues, etc.

4) Another issue not related to Android, but how does the driver address Flash-based drives, such as solid-state drives, etc. For example: a conventional hard drive block can be identified by a cylinder, sector, and track.

+3
source share
3 answers

1. The “Android kernel” is the Linux kernel.

1a. No, you have not heard of Dalvik VMM, you have heard of Dalvik VM, which is just a new kind of Java VM. It runs Java applications. No magic. No, to some extent Dalvik VM is associated with “every process”, but yes, each application runs in an independent process.

2. No. There is a directory structure, not separate file systems.

3. Binder?

4. Android MTD MTD Linux. LBA, - . CHS - , .

+5

​​Android ?

, Android, ​​2.6, , , , .

, , ​​ . , /proc .

, DVM.

Android?.

Android?

, , , , .

///_

, .apk

//

, UNIX. , , /usr/bin/ .. . , , FSH .

. , . UNIX IPC, ​​2.6 , . API, .

.

, .

, - .

+4

1) , . 2) . , ( ). , ​​ SD-, / . 3) ( ), . 4) Flash . Flash - , .

0

Source: https://habr.com/ru/post/1763870/


All Articles