Re: 答复: 答复: [PATCH] mm: Add RWH_RMAP_EXCLUDE flag to exclude files from rmap sharing
From: Matthew Wilcox
Date: Thu Apr 23 2026 - 23:22:01 EST
On Fri, Apr 24, 2026 at 01:08:35AM +0000, Yibin Liu wrote:
> On an Intel Emerald Rapids server (112 cores), run the execl benchmark from
> UnixBench with the command: ./Run -c 220 execl
> Then perf top shows:
>
> 91.53% [kernel] [k] osq_lock
> 0.50% [kernel] [k] rwsem_spin_on_owner
OK, but does this represent a realistic workload? It's pretty easy to
construct workloads that hammer on particular locks; the question is
whether it's a relevant performance bottleneck that customers care about.