[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170905.144929.1991448009465623628.davem@davemloft.net>
Date: Tue, 05 Sep 2017 14:49:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jakub.kicinski@...ronome.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, jiri@...nulli.us,
chrism@...lanox.com, xiyou.wangcong@...il.com, jhs@...atatu.com,
oss-drivers@...ronome.com
Subject: Re: [PATCH net v2] net: sched: don't use GFP_KERNEL under spin lock
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
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 <jakub.kicinski@...ronome.com>
> Reviewed-by: Simon Horman <simon.horman@...ronome.com>
Applied, thanks.
Powered by blists - more mailing lists