Re: [PATCH v2 04/11] mm/damon/paddr: support addr_unit for DAMOS_LRU_[DE]PRIO
From: SeongJae Park
Date: Mon Aug 25 2025 - 11:14:03 EST
On Fri, 22 Aug 2025 17:34:12 +0800 Quanmin Yan <yanquanmin1@xxxxxxxxxx> wrote:
> From: SeongJae Park <sj@xxxxxxxxxx>
>
> Add support of addr_unit for DAMOS_LRU_PRIO and DAMOS_LRU_DEPRIO action
> handling from the DAMOS operation implementation for the physical
> address space.
[...]
> - return applied * PAGE_SIZE;
> + return applied * PAGE_SIZE / addr_unit;
> }
This can cause __udivdi3 linking issue similar to the report [1] from kernel
test robot. Andrew, could you please add below attaching fixup?
[1] https://lore.kernel.org/oe-kbuild-all/202508241831.EKwdwXZL-lkp@xxxxxxxxx/
Thanks,
SJ
[...]
==== Attachment 0 (0002-mm-damon-paddr-use-do_div-on-i386-for-damon_pa_de_ac.patch) ====