projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bpf: Make non-preallocated allocation low priority
[linux-2.6-microblaze.git]
/
kernel
/
bpf
/
lpm_trie.c
diff --git
a/kernel/bpf/lpm_trie.c
b/kernel/bpf/lpm_trie.c
index
f0d05a3
..
d789e3b
100644
(file)
--- a/
kernel/bpf/lpm_trie.c
+++ b/
kernel/bpf/lpm_trie.c
@@
-285,7
+285,7
@@
static struct lpm_trie_node *lpm_trie_node_alloc(const struct lpm_trie *trie,
if (value)
size += trie->map.value_size;
- node = bpf_map_kmalloc_node(&trie->map, size, GFP_
ATOMIC
| __GFP_NOWARN,
+ node = bpf_map_kmalloc_node(&trie->map, size, GFP_
NOWAIT
| __GFP_NOWARN,
trie->map.numa_node);
if (!node)
return NULL;