lkml.org 
[lkml]   [2015]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] mm: cma: debugfs access to CMA
Date
I've noticed that there is no interfaces exposed by CMA which would let me
fuzz what's going on in there.

This small patch set exposes some information out to userspace, plus adds
the ability to trigger allocation and freeing from userspace.

Changes from v1:
- Make allocation and free hooks per-cma.
- Remove additional debug prints.

Sasha Levin (3):
mm: cma: debugfs interface
mm: cma: allocation trigger
mm: cma: release trigger

mm/Kconfig | 6 ++
mm/Makefile | 1 +
mm/cma.c | 19 ++----
mm/cma.h | 20 +++++++
mm/cma_debug.c | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 206 insertions(+), 15 deletions(-)
create mode 100644 mm/cma.h
create mode 100644 mm/cma_debug.c

--
1.7.10.4



\
 
 \ /
  Last update: 2015-01-26 15:41    [W:0.295 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site