From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by kanga.kvack.org (Postfix) with ESMTP id A87AC6B0495 for ; Tue, 6 Nov 2018 17:10:42 -0500 (EST) Received: by mail-lj1-f198.google.com with SMTP id g12-v6so4385785lji.3 for ; Tue, 06 Nov 2018 14:10:42 -0800 (PST) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id m4-v6sor7989079lji.36.2018.11.06.14.10.40 for (Google Transport Security); Tue, 06 Nov 2018 14:10:40 -0800 (PST) MIME-Version: 1.0 References: <20181106134837.014c0bf61eb959e27f5edd0c@linux-foundation.org> In-Reply-To: <20181106134837.014c0bf61eb959e27f5edd0c@linux-foundation.org> From: Vitaly Wool Date: Tue, 6 Nov 2018 23:10:28 +0100 Message-ID: Subject: Re: [Bug 201603] New: NULL pointer dereference when using z3fold and zswap Content-Type: multipart/alternative; boundary="0000000000009cecf6057a064557" Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Seth Jennings , Dan Streetman , bugzilla-daemon@bugzilla.kernel.org, Linux-MM , jagannathante@gmail.com --0000000000009cecf6057a064557 Content-Type: text/plain; charset="UTF-8" Hi, Den tis 6 nov. 2018 kl 22:48 skrev Andrew Morton : > > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > On Fri, 02 Nov 2018 10:41:46 +0000 bugzilla-daemon@bugzilla.kernel.org > wrote: > > > https://bugzilla.kernel.org/show_bug.cgi?id=201603 > > > > Bug ID: 201603 > > Summary: NULL pointer dereference when using z3fold and zswap > > Product: Memory Management > > Version: 2.5 > > Kernel Version: 4.18.16 > > Hardware: All > > OS: Linux > > Tree: Mainline > > Status: NEW > > Severity: high > > Priority: P1 > > Component: Page Allocator > > Assignee: akpm@linux-foundation.org > > Reporter: jagannathante@gmail.com > > Regression: No > > > > Created attachment 279297 > > --> https://bugzilla.kernel.org/attachment.cgi?id=279297&action=edit > > dmesg log of crash > > Basing on what I see in dmesg, it is highly likely to get fixed by https://lkml.org/lkml/2018/11/5/726. Could you please apply/retest? Best regards, Vitaly > > This happens mostly during memory pressure but I am not sure how to > trigger it > > reliably. I am attaching the full log. > > > > This is the kernel commandline > > > > >BOOT_IMAGE=../vmlinuz-linux > root=UUID=57274b3a-92ab-468e-b03a-06026675c1af rw > > >rd.luks.name=92b4aeb2-fb97-45c1-8a60-2816efe5d57e=home > resume=/dev/mapper/home > > >resume_offset=42772480 acpi_backlight=video zswap.enabled=1 > zswap.zpool=z3fold > > >zswap.max_pool_percent=5 transparent_hugepage=madvise > scsi_mod.use_blk_mq=1 > > >vga=current initrd=../intel-ucode.img,../initramfs-linux.img > > > > I found this bug https://bugzilla.kernel.org/show_bug.cgi?id=198585 to > be very > > similar but the proposed fix has not been merged so I can't be sure if > it will > > fix the issue I am having. > > > > -- > > You are receiving this mail because: > > You are the assignee for the bug. > --0000000000009cecf6057a064557 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
Den tis 6 nov. 2018 kl 22:48 skrev Andrew Morton <akpm@linux-foundation.org>:

(switched to email.=C2=A0 Please respond via emailed reply-to-all, not via = the
bugzilla web interface).

On Fri, 02 Nov 2018 10:41:46 +0000 bugzilla-daemon@bugzilla.kernel.org wr= ote:

> https://bugzilla.kernel.org/show_bug.cgi?= id=3D201603
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Bug ID: 201603
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Summary: NULL pointer derefer= ence when using z3fold and zswap
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Product: Memory Management >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Version: 2.5
>=C2=A0 =C2=A0 =C2=A0Kernel Version: 4.18.16
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Hardware: All
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0OS: Linux=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Tree: Mainline >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Status: NEW
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Severity: high
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Priority: P1
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Component: Page Allocator
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Assignee: akpm@linux-foundation.org >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Reporter: jagannathante@gmail.com
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Regression: No
>
> Created attachment 279297
>=C2=A0 =C2=A0--> http= s://bugzilla.kernel.org/attachment.cgi?id=3D279297&action=3Dedit > dmesg log of crash


Basing on w= hat I see in dmesg, it is highly likely to get fixed by=C2=A0https://lkml.org/lkml/2018/11/5/726. = Could you please apply/retest?

Best regards,
=
=C2=A0 =C2=A0Vitaly=C2=A0
> This happens mostly during memory pressure but I am not sure how to tr= igger it
> reliably. I am attaching the full log.
>
> This is the kernel commandline
>
> >BOOT_IMAGE=3D../vmlinuz-linux root=3DUUID=3D57274b3a-92ab-468e-b03= a-06026675c1af rw
> >rd.luks.name=3D92b4aeb2-fb97-45c1-8a60-2816efe5d57e=3Dhome resume=3D= /dev/mapper/home
> >resume_offset=3D42772480 acpi_backlight=3Dvideo zswap.enabled=3D1 = zswap.zpool=3Dz3fold
> >zswap.max_pool_percent=3D5 transparent_hugepage=3Dmadvise scsi_mod= .use_blk_mq=3D1
> >vga=3Dcurrent initrd=3D../intel-ucode.img,../initramfs-linux.img >
> I found this bug https://bugzilla.kernel.or= g/show_bug.cgi?id=3D198585 to be very
> similar but the proposed fix has not been merged so I can't be sur= e if it will
> fix the issue I am having.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
--0000000000009cecf6057a064557--