Re: [PATCH v4 4/4] rcu: Support direct wake-up of synchronize_rcu() users

From: Uladzislau Rezki
Date: Mon Jan 15 2024 - 05:46:48 EST


Hello, Zqiang.

> >
> > // concurrent sr_normal_gp_cleanup work might observe this update.
> > smp_store_release(&rcu_state.srs_done_tail, wait_tail);
> > ASSERT_EXCLUSIVE_WRITER(rcu_state.srs_done_tail);
> >
> > - if (wait_tail)
> > + if (wait_tail->next)
> > queue_work(system_highpri_wq, &sr_normal_gp_cleanup);
> >
>
> I'm testing these patches :) , one question is as follows:
> Can we use (WQ_MEM_RECLAIM | WQ_HIGHPR)type of workqueue to perform
> wake-up actions? avoid kworker creation failure under memory pressure, causing
> the wake-up action to be delayed.
>
I do not have any objections in not doing that, so we can add.

Thank for testing this!

--
Uladzislau Rezki