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

From: Dave Hansen

Date: Mon Feb 23 2026 - 11:44:36 EST


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.