Re: [RFC PATCH 00/10] mm/migrate: dcbm for Intel DSA, on top of the batch copy offload RFC v6

From: Garg, Shivank

Date: Tue Dec 01 2026 - 11:06:04 EST


On Tue, 2026-12-01 at 07:24 -0800, Dave Hansen wrote:
> On 12/1/26 06:12, Daniel Byrne wrote:
> > This is my implementation of dcbm for Intel DSA
>
> First of all, what's a dcbm? ;)

Hi Dave,

That name is mine. dcbm is the "DMA Core (or Copy) Batch Migrator", the
reference driver in my RFC "Accelerate page migration with batch copying
and hardware offload" [1].

[1]
https://lore.kernel.org/all/20260630-shivank-batch-migrate-offload-v6-0-da95d7e8b8a2@xxxxxxx

>
> Looking at this, I'm having a hard time understanding what the goal of
> this posting is. What should those of us on the large cc do with it?

The goal of the overall series is to make page migration faster and cheaper
on the CPU by offloading the folio copy to otherwise idle DMA engines,
through the dmaengine core-APIs. This matters for bulk migration such as
memory tiering (promotion and demotion between DRAM and CXL) and
compaction.

The Cc list is the one from my series, which is why it is so large.
It has grown over revisions. For v7, I'll trim it.

Thanks,
Shivank