diff options
| author | Christoph Hellwig <[email protected]> | 2019-08-14 09:59:19 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-08-20 09:35:02 -0300 |
| commit | a7d1f22bb74f32cf3cd93f52776007e161f1a738 (patch) | |
| tree | d3cbbf0483499da1f858f3b2facda271670e8d69 /drivers/fpga/fpga-mgr.c | |
| parent | f4fb3b9c1971ec210b30845a9f62dc823c5242d0 (diff) | |
mm: turn migrate_vma upside down
There isn't any good reason to pass callbacks to migrate_vma. Instead
we can just export the three steps done by this function to drivers and
let them sequence the operation without callbacks. This removes a lot
of boilerplate code as-is, and will allow the drivers to drastically
improve code flow and error handling further on.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Ralph Campbell <[email protected]>
Tested-by: Ralph Campbell <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions