On 4/10/21 12:23 AM, Miaohe Lin wrote: > It's guaranteed that the vma is associated with a resv_map, i.e. either > VM_MAYSHARE or HPAGE_RESV_OWNER, when the code reaches here or we would > have returned via !resv check above. So it's unneeded to check whether > HPAGE_RESV_OWNER is set here. Simplify the return code to make it more > clear. > > Signed-off-by: Miaohe Lin <linmia...@huawei.com>
Thanks, Reviewed-by: Mike Kravetz <mike.krav...@oracle.com> -- Mike Kravetz