diff options
author | 2021-07-27 16:17:26 -0500 | |
---|---|---|
committer | 2021-08-23 13:19:10 +0200 | |
commit | 98caf9531e1de8104b45fabbab4b6c2f290068fa (patch) | |
tree | e3f6fb43b37def2bf59908b713bddb034cec4499 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: introduce btrfs_search_backwards function (diff) | |
download | wireguard-linux-98caf9531e1de8104b45fabbab4b6c2f290068fa.tar.xz wireguard-linux-98caf9531e1de8104b45fabbab4b6c2f290068fa.zip |
btrfs: allocate file_ra_state on stack in readahead_cache
Instead of allocating file_ra_state using kmalloc, allocate on stack.
sizeof(struct readahead) = 32 bytes.
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 '')
0 files changed, 0 insertions, 0 deletions