diff options
author | 2022-02-20 09:23:15 +0100 | |
---|---|---|
committer | 2022-03-11 11:42:49 +0100 | |
commit | 60df54f8e6bb2c375a9d21f16c9d3983206709e7 (patch) | |
tree | ff488eeee4f52a54ee84a241f4505a6457555ea8 /tools/perf/scripts/python/sched-migration.py | |
parent | mac80211: replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE (diff) | |
download | linux-dev-60df54f8e6bb2c375a9d21f16c9d3983206709e7.tar.xz linux-dev-60df54f8e6bb2c375a9d21f16c9d3983206709e7.zip |
mac80211: Use GFP_KERNEL instead of GFP_ATOMIC when possible
Previous memory allocations in this function already use GFP_KERNEL, so
use __dev_alloc_skb() and an explicit GFP_KERNEL instead of an implicit
GFP_ATOMIC.
This gives more opportunities of successful allocation.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/194a0e2ff00c3fae88cc9fba47431747360c8242.1645345378.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions