Skip to content

Commit 1438391

Browse files
committed
Add "Android ashmem" page
Content provided by Alice Ryhl. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 81807d3 commit 1438391

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
@@ -38,6 +38,7 @@
3838

3939
## Users — out-of-tree
4040

41+
- [Android `ashmem`](Android-`ashmem`.md)
4142
- [Android Binder Driver](Android-Binder-Driver.md)
4243
- [Apple AGX GPU driver](Apple-AGX-GPU-driver.md)
4344
- [Nova GPU Driver](Nova-GPU-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`
2+
3+
[`ashmem`](https://android.googlesource.com/kernel/common/+/refs/heads/android16-6.12/drivers/staging/android/ashmem_rust.rs) (Anonymous Shared Memory Subsystem for Android) 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)