Re: [PATCH 18/22] mm: return valid info from hmm_range_unregister

2019-07-03 Thread Ralph Campbell
On 6/30/19 11:20 PM, Christoph Hellwig wrote: Checking range->valid is trivial and has no meaningful cost, but nicely simplifies the fastpath in typical callers. Also remove the hmm_vma_range_done function, which now is a trivial wrapper around hmm_range_unregister. Signed-off-by: Christoph

[PATCH 18/22] mm: return valid info from hmm_range_unregister

2019-07-01 Thread Christoph Hellwig
Checking range->valid is trivial and has no meaningful cost, but nicely simplifies the fastpath in typical callers. Also remove the hmm_vma_range_done function, which now is a trivial wrapper around hmm_range_unregister. Signed-off-by: Christoph Hellwig ---