Skip to content
Switch branches/tags
Go to file
The ION android code has long been marked to be removed, now that we
dma-buf support merged into the real part of the kernel.

It was thought that we could wait to remove the ion kernel at a later
time, but as the out-of-tree Android fork of the ion code has diverged
quite a bit, and any Android device using the ion interface uses that
forked version and not this in-tree version, the in-tree copy of the
code is abandonded and not used by anyone.

Combine this abandoned codebase with the need to make changes to it in
order to keep the kernel building properly, which then causes merge
issues when merging those changes into the out-of-tree Android code, and
you end up with two different groups of people (the in-kernel-tree
developers, and the Android kernel developers) who are both annoyed at
the current situation.  Because of this problem, just drop the in-kernel
copy of the ion code now, as it's not used, and is only causing problems
for everyone involved.

Cc: "Arve Hjønnevåg" <>
Cc: "Christian König" <>
Cc: Christian Brauner <>
Cc: Christoph Hellwig <>
Cc: Hridya Valsaraju <>
Cc: Joel Fernandes <>
Cc: John Stultz <>
Cc: Laura Abbott <>
Cc: Martijn Coenen <>
Cc: Shuah Khan <>
Cc: Sumit Semwal <>
Cc: Suren Baghdasaryan <>
Cc: Todd Kjos <>
Acked-by: Shuah Khan <>
Signed-off-by: Greg Kroah-Hartman <>
19 contributors

Users who have contributed to this file

@gregkh @johnstultz-work @colincross @torvalds @arve-android @mikeandroid @pebolle @CruzBishop @robherring @pramodgurav @nathanchance @myungjoo
19 lines (14 sloc) 479 Bytes
# SPDX-License-Identifier: GPL-2.0
menu "Android"
config ASHMEM
bool "Enable the Anonymous Shared Memory Subsystem"
depends on SHMEM
The ashmem subsystem is a new shared memory allocator, similar to
POSIX SHM but with different behavior and sporting a simpler
file-based API.
It is, in theory, a good memory allocator for low-memory devices,
because it can discard shared memory units when under memory pressure.
endif # if ANDROID