aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorUladzislau Rezki (Sony) <[email protected]>2020-05-25 23:47:57 +0200
committerPaul E. McKenney <[email protected]>2020-06-29 11:59:25 -0700
commitce4dce123fdcb5f209752d13f9f06926be65fc78 (patch)
treee6a6e8eb609f6c3478f4e68dd605341946bccf48 /tools/perf/scripts/python/syscall-counts-by-pid.py
parente0feed08ab41df0fedc38d35938891ef5715c1d3 (diff)
rcu: Introduce 2 arg kvfree_rcu() interface
kvmalloc() can allocate two types of objects: SLAB backed and vmalloc backed. How it behaves depends on requested object's size and memory pressure. Add a kvfree_rcu() interface that can free memory allocated via kvmalloc(). It is a simple alias to kfree_rcu() which can now handle either type of object. <snip> struct test_kvfree_rcu { struct rcu_head rcu; unsigned char array[100]; }; struct test_kvfree_rcu *p; p = kvmalloc(10 * PAGE_SIZE); if (p) kvfree_rcu(p, rcu); <snip> Signed-off-by: Uladzislau Rezki (Sony) <[email protected]> Co-developed-by: Joel Fernandes (Google) <[email protected]> Reviewed-by: Joel Fernandes (Google) <[email protected]> Signed-off-by: Joel Fernandes (Google) <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions