Re: [linus:master] [mm/gup] 2d9bcd3805: will-it-scale.per_process_ops 7.5% regression

From: David Hildenbrand (Arm)

Date: Wed Dec 02 2026 - 08:31:17 EST


On 12/2/26 02:15, kernel test robot wrote:
>
> Hello,
>
> kernel test robot noticed a 7.5% regression of will-it-scale.per_process_ops on:
>
>
> commit: 2d9bcd380585abc436f055fbb618b34f98882004 ("mm/gup: limit pagecache folio refcount when grabbing references") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>
> testcase: will-it-scale
> config: x86_64-rhel-9.4
> compiler: gcc-14
> test machine: 224 threads 2 sockets Intel(R) Xeon(R) Platinum 8480CTDX (Sapphire Rapids) with 512G memory
> parameters:
>
> nr_task: 100%
> mode: process
> test: futex1
> cpufreq_governor: performance
>
>
>
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <yi1.lai@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-lkp/202612020918.777eaba8-lkp@xxxxxxxxx
>
>
> Details are as below:
> -------------------------------------------------------------------------------------------------->
>
>
> The kernel config and materials to reproduce are available at:
> https://download.01.org/0day-ci/archive/20261202/202612020918.777eaba8-lkp@xxxxxxxxx
>
> =========================================================================================
> compiler/cpufreq_governor/kconfig/mode/nr_task/rootfs/tbox_group/test/testcase:
> gcc-14/performance/x86_64-rhel-9.4/process/100%/debian-13-x86_64-20250902.cgz/lkp-spr-2sp5/futex1/will-it-scale
>
> commit:
> b8ba6cc994 ("iommufd: fix cleanup when adding memfd folio pins fails")
> 2d9bcd3805 ("mm/gup: limit pagecache folio refcount when grabbing references")
>
> b8ba6cc994322267 2d9bcd380585abc436f055fbb61
> ---------------- ---------------------------
> %stddev %change %stddev
> \ | \
> 9.199e+08 -7.5% 8.506e+08 ± 4% will-it-scale.224.processes
> 4106830 -7.5% 3797536 ± 4% will-it-scale.per_process_ops
> 9.199e+08 -7.5% 8.506e+08 ± 4% will-it-scale.workload

Stddev of 4% ... and 2d9bcd3805 only slightly changed refcount checks. So I
don't quite believe it.

But it all doesn't matter as we'll rework these refcount checks soon, once we
have a better thing in place to handle excessive folio mappings.

... once we have all the other fixes under control.

--
Cheers,

David