diff options
| author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2021-07-27 16:17:30 -0500 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2021-08-23 13:19:10 +0200 |
| commit | c853a5783ebe123847886d432354931874367292 (patch) | |
| tree | 1e47f4de81434285bbc00fb2ea35dc2e0635904f /tools/perf/scripts/python | |
| parent | btrfs: allocate btrfs_ioctl_quota_rescan_args on stack (diff) | |
| download | linux-c853a5783ebe123847886d432354931874367292.tar.gz linux-c853a5783ebe123847886d432354931874367292.zip | |
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 <anand.jain@oracle.com>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
