diff options
| author | Zqiang <qiang.zhang@linux.dev> | 2026-01-01 11:34:11 -0500 |
|---|---|---|
| committer | Boqun Feng <boqun.feng@gmail.com> | 2026-01-07 21:59:41 +0800 |
| commit | cee2557ae3b19e0cdfa09695a4d6ba420cc1fd41 (patch) | |
| tree | 97276103f8ff6c75634a034c93bc45009dcdfe73 /scripts/sorttable.c | |
| parent | d41e37f26b3157b3f1d10223863519a943aa239b (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/sorttable.c')
0 files changed, 0 insertions, 0 deletions
