Skip to contentSkip to conversation

fq_init() allocation

DISCUSSION Johannes Berg 2 participants 2 messages Nov 5, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

fq_init() in mac80211 allocates something like 1/2 MB of memory in a kmalloc() call and I see it failing frequently in our automation now ... Could we move that to vmalloc()?

johannes

#1 lore raw
Quoted 5 lines · Johannes Berg

Hi,

fq_init() in mac80211 allocates something like 1/2 MB of memory in a kmalloc() call and I see it failing frequently in our automation now ... Could we move that to vmalloc()?

Sure, don't see why not. The qdisc allocators all use kvmalloc() for the same purpose, so I guess we can just switch fq_init() to that as well. I'll send a (one-character :)) patch...

-Toke