Re: [PATCH 1/1] mm/mmu_gather: replace IPI with synchronize_rcu() when batch allocation fails

From: Lance Yang

Date: Mon Feb 23 2026 - 21:06:46 EST




On 2026/2/24 00:35, Dave Hansen wrote:
On 2/23/26 08:29, Lance Yang wrote:

Note: Use this when code really needs to wait for synchronization,
*not* for freeing memory. Memory freeing should use RCU callbacks
that don't cause latency spikes in this thread.

Yeah, but I'd probably mix it in with the other chit chat about
non-atomic contexts. I'd also make it something like:

Do not use for freeing memory. Use RCU callbacks instead to
avoid latency spikes.

to make the commands clear.

Got it, thanks. I'll update it in v2.