Skip to content

Commit b29bfdc

Browse files
committed
Add "Android ashmem" page
Content provided by Alice Ryhl. Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 81807d3 commit b29bfdc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
## Users — out-of-tree
4040

4141
- [Android Binder Driver](Android-Binder-Driver.md)
42+
- [Android `ashmem`](Android-`ashmem`.md)
4243
- [Apple AGX GPU driver](Apple-AGX-GPU-driver.md)
4344
- [Nova GPU Driver](Nova-GPU-Driver.md)
4445
- [NVMe Driver](NVMe-driver.md)

src/Android-`ashmem`.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Android `ashmem` ("Anonymous Shared Memory Subsystem")
2+
3+
The [`ashmem`](https://android.googlesource.com/kernel/common/+/refs/heads/android16-6.12/drivers/staging/android/ashmem_rust.rs) subsystem is a new shared memory allocator, similar to POSIX SHM but with different behavior and sporting a simpler file-based API.
4+
5+
It is, in theory, a good memory allocator for low-memory devices, because it can discard shared memory units when under memory pressure.

0 commit comments

Comments
 (0)