Re: [PATCH v4 2/4] mm,compaction: Let isolate_migratepages_{range,block} return error codes

2021-03-15 Thread Vlastimil Babka
On 3/10/21 4:08 PM, Oscar Salvador wrote: > Currently, isolate_migratepages_{range,block} and their callers use > a pfn == 0 vs pfn != 0 scheme to let the caller know whether there was > any error during isolation. > This does not work as soon as we need to start reporting different error > codes

[PATCH v4 2/4] mm,compaction: Let isolate_migratepages_{range,block} return error codes

2021-03-10 Thread Oscar Salvador
Currently, isolate_migratepages_{range,block} and their callers use a pfn == 0 vs pfn != 0 scheme to let the caller know whether there was any error during isolation. This does not work as soon as we need to start reporting different error codes and make sure we pass them down the chain, so they