此文档是 GOOGLE IO 2008上的,有点老,不过这是最官方的。
kernel 改动:
Binder
Linux的缺点:IPC(Linux的进程间通信) can introduce significant processing overhead and security holes
binder优点:
- High performance through shared memory
- Per-process thread pol for processing requests
- Reference counting, and mapping of object references across process
- Synchronous calls between processes
Low Memory Killer
Logger
Ashmem
Alarm
Power Management
问题:移动设备都靠电池工作,但电池的电量有限
pm优点:
- Built on top of standard Linux Power Management
- More aggressive power management policy
- Components make requests to keep the power on through "wake locks"
- Support different types of wake locks
- use wake locks carefully
- userActivity(long when, ...),参考:http://m.blog.csdn.net/blog/y658t/37329289#
KernelDebugger