Re: [PATCH 01/16] mm/migration: remove unneeded local variable mapping_locked
From: Muchun Song
Date: Fri Mar 04 2022 - 08:48:56 EST
On Fri, Mar 4, 2022 at 5:35 PM Miaohe Lin <linmiaohe@xxxxxxxxxx> 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 <linmiaohe@xxxxxxxxxx>
Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
Thanks.