Re: [PATCH v2] uprobes: Improve the usage of xol slots for better scalability

From: Liao, Chang
Date: Mon Oct 21 2024 - 08:09:24 EST




在 2024/10/1 22:29, Oleg Nesterov 写道:
> On 09/27, Liao Chang wrote:
>>
>> The uprobe handler allocates xol slot from xol_area and quickly release
>> it in the single-step handler. The atomic operations on the xol bitmap
>> and slot_count lead to expensive cache line bouncing between multiple
>> CPUs.
>
> Liao, could you please check if this series
>
> [PATCH 0/2] uprobes: kill xol_area->slot_count
> https://lore.kernel.org/all/20241001142416.GA13599@xxxxxxxxxx/
>
> makes any difference performance-wise in your testing?

OK, I am ready to test this patch on my arm64 machine.

>
> Oleg.
>
>

--
BR
Liao, Chang