From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by kanga.kvack.org (Postfix) with ESMTP id 0CCDB8E0002 for ; Mon, 14 Jan 2019 10:52:03 -0500 (EST) Received: by mail-wr1-f69.google.com with SMTP id w4so8603433wrt.21 for ; Mon, 14 Jan 2019 07:52:03 -0800 (PST) Received: from mail-40130.protonmail.ch (mail-40130.protonmail.ch. [185.70.40.130]) by mx.google.com with ESMTPS id b127si18677004wme.116.2019.01.14.07.52.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jan 2019 07:52:01 -0800 (PST) Date: Mon, 14 Jan 2019 15:51:54 +0000 From: Esme Reply-To: Esme Subject: Re: [PATCH v2] rbtree: fix the red root Message-ID: In-Reply-To: <5298bfcc-0cbc-01e8-85b2-087a380fd3fe@lca.pw> References: <20190111181600.GJ6310@bombadil.infradead.org> <864d6b85-3336-4040-7c95-7d9615873777@lechnology.com> <8v11ZOLyufY7NLAHDFApGwXOO_wGjVHtsbw1eiZ__YvI9EZCDe_4FNmlp0E-39lnzGQHhHAczQ6Q6lQPzVU2V6krtkblM8IFwIXPHZCuqGE=@protonmail.ch> <5298bfcc-0cbc-01e8-85b2-087a380fd3fe@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: Qian Cai Cc: "dgilbert@interlog.com" , David Lechner , Michel Lespinasse , Andrew Morton , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "joeypabalinas@gmail.com" , linux-mm , LKML Disabled kmemleak options. On mobile, pardon brevity. Sent with ProtonMail Secure Email. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Monday, January 14, 2019 10:45 AM, Qian Cai wrote: > On 1/14/19 1:23 AM, Esme wrote: > > > I did not yet verify the previous branches but did tune out kmemleak (C= ONFIG_DEBUG_MEMLEAK no longer set) as it seemed a bit obtrusive in this mat= ter, this is what I see now (note redzone?). > > /Esme > > 114.826116] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > > [ 114.828121] BUG kmalloc-64 (Tainted: G W ): Padding overwritten. 0x00= 0000006913c65d-0x000000006e410492 > > [ 114.830551] ---------------------------------------------------------= -------------------- > > [ 114.830551] > > [ 114.832755] INFO: Slab 0x0000000054f47c55 objects=3D19 used=3D19 fp= =3D0x (null) flags=3D0x1fffc0000010200 > > [ 114.835063] CPU: 0 PID: 6310 Comm: x Tainted: G B W 5.0.0-rc2 #15 > > [ 114.836829] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BI= OS 1.11.1-1ubuntu1 04/01/2014 > > [ 114.838847] Call Trace: > > [ 114.839497] dump_stack+0x1d8/0x2c6 > > [ 114.840274] ? dump_stack_print_info.cold.1+0x20/0x20 > > [ 114.841402] slab_err+0xab/0xcf > > [ 114.842103] ? __asan_report_load1_noabort+0x14/0x20 > > [ 114.843244] ? memchr_inv+0x2c1/0x330 > > [ 114.844059] slab_pad_check.part.50.cold.87+0x27/0x81 > > Confused again. Those slab_pad_check() looks like only with SLUB, but you= said > you used SLAB. What else did you change?