Re: [PATCH next 0/2] THP COW support for private executable file mmap

zhangqilong
2025-12-16T02:12:21Z

> On Mon, Dec 15, 2025 at 08:34:05PM +0800, Zhang Qilong wrote:
> > This patch series implementate THP COW for private executable file
> > mmap. It's major designed to increase the iTLB cache hit rate for hot
> > patching application, and we add a new sysfs knob to disable or enable
> > it.
>
> You're going to have to provide data to get this patch in. We've deliberately
> not done this in the past due to memory consumption overhead.

Year, memory consumption overhead is a serious issue, we will conduct a careful evaluation

> So you need to prove that's now the wrong decision to make.
>
> Microbenchmarks would be a bare minimum, but what are really needed are
> numbers from actual workloads.

Okay, I'm also trying to gather some test data locally(include microbenchmarks and actual workloads).
I'll attach the results once I have finished. Thank you for your suggestion.

--
Thanks,

Zhang