Re: [PATCH 1/2] mm: Retry migration earlier upon refcount mismatch

2024-08-09 Thread Christoph Lameter (Ampere)
On Fri, 9 Aug 2024, David Hildenbrand wrote: This really seems to be the latest point where we can "easily" back off and unlock the source folio -- in this function :) I wonder if we should be smarter in the migrate_pages_batch() loop when we start the actual migrations via migrate_folio_mo

Re: [PATCH 2/2] selftests/mm: Do not fail test for a single migration failure

2024-08-09 Thread Christoph Lameter (Ampere)
On Fri, 9 Aug 2024, Shuah Khan wrote: "Given that migration is a best-effort service, it is wrong to fail the test for just a single failure; hence, fail the test after 100 consecutive failures (where 100 is still a subjective choice)." You do want to mention the above here. The reason being,