2022-03-04 17:36:37

by Muchun Song

[permalink] [raw]
Subject: Re: [PATCH 01/16] mm/migration: remove unneeded local variable mapping_locked

On Fri, Mar 4, 2022 at 5:35 PM Miaohe Lin <[email protected]> wrote:
>
> When mapping_locked is true, TTU_RMAP_LOCKED is always set to ttu. We can
> check ttu instead so mapping_locked can be removed. And ttu is either 0
> or TTU_RMAP_LOCKED now. Change '|=' to '=' to reflect this.
>
> Signed-off-by: Miaohe Lin <[email protected]>

Reviewed-by: Muchun Song <[email protected]>

Thanks.