diff options
| author | Kent Overstreet <[email protected]> | 2023-01-07 05:46:52 -0500 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:49 -0400 |
| commit | 6c36318cc702f05d302fb98a99636e320392bdf1 (patch) | |
| tree | 9f1d6f567f31162215aa9d2f6f66e48d06b94e64 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 7af365eb3694b7ef7ce2b90b6de4b830a49cdda4 (diff) | |
bcachefs: key cache: Don't hold btree locks while using GFP_RECLAIM
This is something we need to do more widely: instead of bothering with
GFP_NOIO/GFP_NOFS, if we need to allocate memory while holding locks:
- first attempt the allocation with GFP_NOWAIT
- if that fails, drop btree locks with bch2_trans_unlock(), then
retry with GFP_KERNEL.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions