summaryrefslogtreecommitdiff
path: root/scripts/include
diff options
context:
space:
mode:
authorZqiang <qiang.zhang@linux.dev>2026-01-01 11:34:11 -0500
committerBoqun Feng <boqun.feng@gmail.com>2026-01-07 21:59:41 +0800
commitcee2557ae3b19e0cdfa09695a4d6ba420cc1fd41 (patch)
tree97276103f8ff6c75634a034c93bc45009dcdfe73 /scripts/include
parentd41e37f26b3157b3f1d10223863519a943aa239b (diff)
srcu: Use suitable gfp_flags for the init_srcu_struct_nodes()
For use the init_srcu_struct*() to initialized srcu structure, the srcu structure's->srcu_sup and sda use GFP_KERNEL flags to allocate memory. similarly, if set SRCU_SIZING_INIT, the srcu_sup's->node can still use GFP_KERNEL flags to allocate memory, not need to use GFP_ATOMIC flags all the time. Signed-off-by: Zqiang <qiang.zhang@linux.dev> Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com> Tested-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com> Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'scripts/include')
0 files changed, 0 insertions, 0 deletions