Re: [zram] ltp inspired explosion - master v4.13-rc1-3-g87b2c3fc6317

From: Minchan Kim
Date: Tue Jul 25 2017 - 02:26:59 EST


Hi,

On Mon, Jul 24, 2017 at 08:17:01PM +0200, Mike Galbraith wrote:
> Now bisected and verified via revert, the culprit is:
>
> cf8e0fedf078 mm/zsmalloc: simplify zs_max_alloc_size handling
>
> Reproducer: ltp::testcases/bin/zram03.
>

Thanks for the report and bisecting.
I believe this patch should fix it.

Thanks!