diff options
author | 2017-06-05 00:12:31 -0700 | |
---|---|---|
committer | 2017-06-19 18:26:01 +0200 | |
commit | 25ff17e82f9612dcd1cf4668acb2148e18305507 (patch) | |
tree | 7266050b74ca54a91eb5bd5065eda3c7fbb93f69 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | btrfs: use generic slab for for btrfs_transaction (diff) | |
download | linux-dev-25ff17e82f9612dcd1cf4668acb2148e18305507.tar.xz linux-dev-25ff17e82f9612dcd1cf4668acb2148e18305507.zip |
Btrfs: use memalloc_nofs and kvzalloc() for free space tree bitmaps
First, instead of open-coding the vmalloc() fallback, use the new
kvzalloc() helper. Second, use memalloc_nofs_{save,restore}() instead of
GFP_NOFS, as vmalloc() uses some GFP_KERNEL allocations internally which
could lead to deadlocks.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions