Re: [Patch] Don't sync volatile memory

2025-06-16 Thread Chaney, Ben
On 6/16/25, 4:35 PM, "Peter Xu" mailto:pet...@redhat.com>> wrote: > On Mon, Jun 16, 2025 at 07:43:02PM +, Chaney, Ben wrote: >> Not all pmem regions are backed by non-volatile memory. Syncing volatile >> memory provides no benefit, but can cause performance issues is some >> cases. Only sy

Re: [Patch] Don't sync volatile memory

2025-06-16 Thread Peter Xu
On Mon, Jun 16, 2025 at 07:43:02PM +, Chaney, Ben wrote: > Not all pmem regions are backed by non-volatile memory. Syncing volatile > memory provides no benefit, but can cause performance issues is some > cases. Only sync memory that is marked as non-volatile. > > Fixes: bd108a44bc29 (migratio

[Patch] Don't sync volatile memory

2025-06-16 Thread Chaney, Ben
Not all pmem regions are backed by non-volatile memory. Syncing volatile memory provides no benefit, but can cause performance issues is some cases. Only sync memory that is marked as non-volatile. Fixes: bd108a44bc29 (migration: ram: Switch to ram block writeback) --- migration/ram.c | 4 +++- 1