diff options
author | John Einar Reitan <john.reitan@arm.com> | 2015-11-18 14:52:54 +0100 |
---|---|---|
committer | John Einar Reitan <john.reitan@arm.com> | 2016-01-15 11:04:41 +0100 |
commit | 2b8cff766e6857b26603dfecd3b562ac1c8b60f5 (patch) | |
tree | cc702a4d847465a6633bf69ebd45d018ab63043f /lib | |
parent | 8dce9eca3b34eb5996b50b05141a86fb2cbdb2ab (diff) |
ion: Compound page heap
This heap backs ion buffers with configurable sized compound pages.
It employs a free list to avoid triggering memory compaction too often.
The heap employs a worker thread to handle zeroing of freed pages, cache
maintenance and for allocating memory for the free list. The free list
can release memory back to the kernel via a memory shrinker.
Extensive statistics is collected when enabled. This includes the number of
buffers seen, the number of buffers currently active, the buffer size distribution,
hard and soft allocation failures etc.
Change-Id: I5bd5323ba19e06517f95b27bbd88859d1c987e11
Signed-off-by: John Einar Reitan <john.reitan@arm.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions