diff options
| author | Goldwyn Rodrigues <[email protected]> | 2021-07-27 16:17:30 -0500 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2021-08-23 13:19:10 +0200 |
| commit | c853a5783ebe123847886d432354931874367292 (patch) | |
| tree | 1e47f4de81434285bbc00fb2ea35dc2e0635904f /tools/perf/scripts/python/flamegraph.py | |
| parent | 0afb603afc3e3dd15c99dd34d5e18b46f9f5c0e4 (diff) | |
btrfs: allocate btrfs_ioctl_defrag_range_args on stack
Instead of using kmalloc() to allocate btrfs_ioctl_defrag_range_args,
allocate btrfs_ioctl_defrag_range_args on stack, the size is reasonably
small and ioctls are called in process context.
sizeof(btrfs_ioctl_defrag_range_args) = 48
Reviewed-by: Anand Jain <[email protected]>
Signed-off-by: Goldwyn Rodrigues <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions