[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161222013223.GD644@jagdpanzerIV.localdomain>
Date: Thu, 22 Dec 2016 10:32:23 +0900
From: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
To: Minchan Kim <minchan@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Takashi Iwai <tiwai@...e.de>,
Hyeoncheol Lee <cheol.lee@....com>, yjay.kim@....com,
Sangseok Lee <sangseok.lee@....com>,
Hugh Dickins <hughd@...gle.com>,
"[4.7+]" <stable@...r.kernel.org>
Subject: Re: [PATCH v4 2/3] zram: revalidate disk under init_lock
On (12/22/16 09:36), Minchan Kim wrote:
> [1] moved revalidate_disk call out of init_lock to avoid lockdep
> false-positive splat. However, [2] remove init_lock in IO path
> so there is no worry about lockdep splat. So, let's restore it.
> This patch need to set BDI_CAP_STABLE_WRITES atomically in
> next patch.
>
> [1] b4c5c60920e3: zram: avoid lockdep splat by revalidate_disk
> [2] 08eee69fcf6b: zram: remove init_lock in zram_make_request
>
> Fixes: da9556a2367c ("zram: user per-cpu compression streams")
> Cc: <stable@...r.kernel.org> [4.7+]
> Signed-off-by: Minchan Kim <minchan@...nel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
-ss
Powered by blists - more mailing lists