[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2df96cb5-e4db-6133-3406-a97fef9a3028@oracle.com>
Date: Fri, 14 Feb 2020 15:40:23 -0800
From: Mike Kravetz <mike.kravetz@...cle.com>
To: Jules Irenge <jbi.octave@...il.com>, linux-kernel@...r.kernel.org
Cc: boqun.feng@...il.com, Andrew Morton <akpm@...ux-foundation.org>,
HUGETLB FILESYSTEM <linux-mm@...ck.org>
Subject: Re: [PATCH 06/30] mm/hugetlb: Add missing annotation for
gather_surplus_pages()
On 2/14/20 12:47 PM, Jules Irenge wrote:
> Sparse reports a warning at gather_surplus_pages()
>
> warning: context imbalance in hugetlb_cow() - unexpected unlock
>
> The root cause is the missing annotation at gather_surplus_pages()
> Add the missing __must_hold(&hugetlb_lock)
>
> Signed-off-by: Jules Irenge <jbi.octave@...il.com>
Reviewed-by: Mike Kravetz <mike.kravetz@...cle.com>
--
Mike Kravetz
Powered by blists - more mailing lists