Thread (3 messages) flat view 3 messages, 3 authors, 2017-09-05

Re: [PATCH net v2] net: sched: don't use GFP_KERNEL under spin lock

From: David Miller <davem@davemloft.net>
Date: 2017-09-05 21:49:31

From: Jakub Kicinski <redacted>
Date: Tue,  5 Sep 2017 08:31:23 -0700
The new TC IDR code uses GFP_KERNEL under spin lock.  Which leads
to:
 ...
Try to preallocate the memory with idr_prealloc(GFP_KERNEL)
(as suggested by Eric Dumazet), and change the allocation 
flags under spin lock.

Fixes: 65a206c01e8e ("net/sched: Change act_api and act_xxx modules to use IDR")
Signed-off-by: Jakub Kicinski <redacted>
Reviewed-by: Simon Horman <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help