Re: [PATCH 10/30] mm/zsmalloc: Add missing annotation for migrate_read_lock()

From: Minchan Kim
Date: Thu Feb 27 2020 - 16:52:50 EST


On Fri, Feb 14, 2020 at 08:47:21PM +0000, Jules Irenge wrote:
> Sparse reports a warning at migrate_read_lock()()
>
> warning: context imbalance in migrate_read_lock() - wrong count at exit
>
> The root cause is the missing annotation at migrate_read_lock()
> Add the missing __acquires(&zspage->lock) annotation
>
> Signed-off-by: Jules Irenge <jbi.octave@xxxxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>