diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-14 09:59:19 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-08-20 09:35:02 -0300 |
commit | a7d1f22bb74f32cf3cd93f52776007e161f1a738 (patch) | |
tree | d3cbbf0483499da1f858f3b2facda271670e8d69 /drivers/hwtracing/intel_th | |
parent | f4fb3b9c1971ec210b30845a9f62dc823c5242d0 (diff) | |
download | linux-a7d1f22bb74f32cf3cd93f52776007e161f1a738.tar.gz linux-a7d1f22bb74f32cf3cd93f52776007e161f1a738.tar.bz2 linux-a7d1f22bb74f32cf3cd93f52776007e161f1a738.zip |
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/20190814075928.23766-2-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
Tested-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/hwtracing/intel_th')
0 files changed, 0 insertions, 0 deletions