summaryrefslogtreecommitdiff
path: root/net/netlink
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-08-28 10:00:56 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-09-21 14:56:40 -0400
commit87a3e08121cbb59a314fc727b4f1202782ed56b1 (patch)
treeeaaee4978a99318087b81674b9ba288bf36cd33e /net/netlink
parent7cc822650f9fa6f2f1eccc7acdb43e90c1b2ecdf (diff)
bcachefs: Switch to memalloc_flags_do() for vmalloc allocationsHEADmasterfor-next
vmalloc doesn't correctly respect gfp flags - gfp flags aren't used for pte allocation, so doing vmalloc/kvmalloc allocations with reclaim unsafe locks is a potential deadlock. Note that we also want to use PF_MEMALLOC_NORECLAIM, not PF_MEMALLOC_NOFS, because when we're doing allocations with btree locks held we have a fallback available - drop locks and do a normal GFP_KERNEL allocation. We don't want to be invoking reclaim with btree locks held at all, since these are big shared locks and overalll system performance is sensitive to hold times. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions