diff --git a/README.md b/README.md index 3f5d21dfb56b5ac4ef7ca7329676b9965daa7055..e9281b398d742d6eb0ddbebefd3f20829c85cc76 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,10 @@ - [目录](#section_catalogue) - [内存基础库](#section_libraries) - [libdmabufheap系统库](#section_libdmabufheap) - - [libmeminfo系统库(规划)](#section_libmeminfo) - - [libmemleak系统库(规划)](#section_libmemleak) - - [libpurgeable系统库(规划)](#section_libpurgeable) - - [libspeculative系统库(规划)](#section_libspeculative) + - [libmeminfo系统库(规划中)](#section_libmeminfo) + - [libmemleak系统库(规划中)](#section_libmemleak) + - [libpurgeable系统库(规划中)](#section_libpurgeable) + - [libspeculative系统库(规划中)](#section_libspeculative) - [使用说明](#section_usage) - [相关仓](#section_projects) @@ -18,10 +18,10 @@ ## 部件架构图 -![](figures/zh-cn_image_fwk.png) - **图1** 内存基础库部件架构图 +![](figures/zh-cn_image_fwk.png) + ## 目录 ``` @@ -45,19 +45,19 @@ 为业务提供分配共享内存的接口,通过在硬件设备和用户空间之间分配和共享内存,实现 设备、进程间零拷贝内存,提升执行效率。 -### libmeminfo系统库(规划) +### libmeminfo系统库(规划中) 提供内存占用查询接口。主要提供给内存占用维测(hidumper)、低内存查杀服务(lmks)使用。 -### libmemleak系统库(规划) +### libmemleak系统库(规划中) 配合malloc_debug做native heap内存泄漏检测。 -### libpurgeable系统库(规划) +### libpurgeable系统库(规划中) 提供可丢弃类型内存的管理接口。主要提供给多媒体业务图形图像编解码库使用。 -### libspeculative系统库(规划) +### libspeculative系统库(规划中) 提供投机类型内存管理接口。主要提供给系统服务使用,用于缓存预读。 diff --git a/README_zh.md b/README_zh.md index af6dead5a6c11182b399138ea85e77bf535fa647..f0b41818c67499e5e2c1d581769efa24dc681516 100644 --- a/README_zh.md +++ b/README_zh.md @@ -5,10 +5,10 @@ - [Directory Structure](#section_catalogue) - [Memory Base Libraries](#section_libraries) - [libdmabufheap system library](#section_libdmabufheap) - - [libmeminfo system library (in planning)](#section_libmeminfo) - - [libmemleak system library (in planning)](#section_libmemleak) - - [libpurgeable system library (in planning)](#section_libpurgeable) - - [libspeculative system library (in planning)](#section_libspeculative) + - [libmeminfo system library (planning)](#section_libmeminfo) + - [libmemleak system library (planning)](#section_libmemleak) + - [libpurgeable system library (planning)](#section_libpurgeable) + - [libspeculative system library (planning)](#section_libspeculative) - [Usage Guidelines](#section_usage) - [Repositories Involved](#section_projects) @@ -18,10 +18,10 @@ The part of *Memory base libraries* belongs to the subsystem named *Utils Subsys ## Architecture -![](figures/en-us_image_fwk.png) - **Figure 1** Memory Base Libraries architecture +![](figures/en-us_image_fwk.png) + ## Directory Structure ``` @@ -44,19 +44,19 @@ The part of *Memory base libraries* belongs to the subsystem named *Utils Subsys The memory system library provides interfaces for services to allocate and share shared memory. By allocating and sharing memory between hardware devices and user space, zero-copy memory between devices and processes is implemented to improve execution efficiency. -### libmeminfo system library (in planning) +### libmeminfo system library (planning) It provides interfaces for memory usage queries. It is mainly used by memory footprint management service(hidumper) and low-memory killing service(lmks). -### libmemleak system library (in planning) +### libmemleak system library (planning) It cooperates with malloc_debug to detect memory leaks of native heap. -### libpurgeable system library (in planning) +### libpurgeable system library (planning) It provides management interfaces for discardable-type memory. It is mainly used by graphics and image codec libraries. -### libspeculative system library (in planning) +### libspeculative system library (planning) It provides management interfaces for speculative-type memory. It is mainly used by system services for data pre-loading. diff --git a/figures/en-us_image_fwk.png b/figures/en-us_image_fwk.png index b1d0e4711ad2729334fe151c4c0f4ecf37b7d39a..5a6ad78cba424efa6a965b2e095ab4cfea832e0d 100644 Binary files a/figures/en-us_image_fwk.png and b/figures/en-us_image_fwk.png differ diff --git a/figures/zh-cn_image_fwk.png b/figures/zh-cn_image_fwk.png index 09921e55e0d55aa6406e2d2afc058fbba48f4482..f1276fb4225c4e18a6accf9bdc3b9304676cab71 100644 Binary files a/figures/zh-cn_image_fwk.png and b/figures/zh-cn_image_fwk.png differ