aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVladimir Davydov <[email protected]>2016-01-14 15:18:18 -0800
committerLinus Torvalds <[email protected]>2016-01-14 16:00:49 -0800
commit37f08dda29dac8a595999b8d3eaa9bf0f763dd9d (patch)
treec4d80b7c03cb495ae11b523e7ff187b355c9f35e /tools/perf/scripts/python
parent230e9fc2860450fbb1f33bdcf9093d92d7d91f5b (diff)
vmalloc: allow to account vmalloc to memcg
Make vmalloc family functions allocate vmalloc area pages with alloc_kmem_pages so that if __GFP_ACCOUNT is set they will be accounted to memcg. This is needed, at least, to account alloc_fdmem allocations. Signed-off-by: Vladimir Davydov <[email protected]> Acked-by: Johannes Weiner <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Greg Thelen <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: David Rientjes <[email protected]> Cc: Joonsoo Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions