Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4201581ybi; Mon, 3 Jun 2019 07:15:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzY9i0da3OoshoEeQDGlJzOWKhjEhiKq8gbmTCkAFk20oPsOzbhullx1CnC8ilzwFIxTYjm X-Received: by 2002:a17:902:2a69:: with SMTP id i96mr21508578plb.108.1559571305276; Mon, 03 Jun 2019 07:15:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559571305; cv=none; d=google.com; s=arc-20160816; b=WRzq4axYSk14mbe5VVGIjBUy+qIm/veAtS+A6PH7/JB3QkbyxbEP2t9oqNNFcEpshM wYWCXYuJGBFWLnOPm2L5lSNItQeMc/YFGL3MsUg+bQEFTtJKiNEDqM/0C/IGQQ+KV+4j CaC0kVcHlhModmENRQHosAsEJ3yHDPyV0PG31NeCvLqo0xSAnBLa2LNhuLOIrd7xRw9j 6rRWL8udvYR8FwjKAy5cYbTDluut8ZvXTa1iPIw7kmRTue3HNr5c8/Mj5b+smduhgCqr kDqUFYGG1latJeHu+uFkM0pcK1KmuRVHdhsmwzCk0l9wvQ3fqgr80ea1lolVzs+//CPC zXbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=M2DuwGRXCzN1db5gv+o4JjQrckmHVPeHDhxTCJpaz8A=; b=DT4vZeo9yN5UTOEeeqyzPpDzmJKqyjHuifdT7Es/Q+h7Jy8F2MIEgoD4U9gER1PWbe 3YLWEjrYjjqVB1+Px3LS8JzlRkNjJGUqdBo9TUIbKzV+5VIbz2XBvfayWneuoEcC+mRU SbWL1lxmG/zU+aVdnuEYK3SNhRcCVg+lJeKbcJaWDq+n/NrKrHujZZpCn9J5LfVs2ChG jEq+r7RttF32JFRFSBLV1evnc1mY22LG1C2BDvtlpThFJ9+7vpFTmo1RVMvguMZEQ7h1 2HMUoBA/DHYWTUo929/wxQqL5sE+6M+qZ7kZc3+gnKJdRsTj+As8skJzangmoPKbLDOW 0YQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id be3si18153407plb.127.2019.06.03.07.14.47; Mon, 03 Jun 2019 07:15:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728957AbfFCONK (ORCPT + 99 others); Mon, 3 Jun 2019 10:13:10 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33563 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727429AbfFCONJ (ORCPT ); Mon, 3 Jun 2019 10:13:09 -0400 Received: by mail-wr1-f68.google.com with SMTP id d9so12301534wrx.0; Mon, 03 Jun 2019 07:13:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M2DuwGRXCzN1db5gv+o4JjQrckmHVPeHDhxTCJpaz8A=; b=slnWtIzOLzetY2YSYSkDTXcQq/0vDclrroenZ2+Ub32bJnhMud0BdePZ4juHVaiR46 6nb3rNDaEL+lsDjtL91BThlz5sudGoYmb8kyfo/GgV8ywDIsVxOYRUxQXjZC6Y1Pc35h Ec6OxBNy5dARePNXpbR/BQe8/Tkkgz2WfisowptFayoJazNRQTS5YXY/n8IgPeR+GpgS 21zmVPQStbMYM+Z7W8dn1UjSjW94bOJ+M4D727yzafXRSq0DsyHgDMsziwnQ0qhkUhZF 39Ptun2FQfKNzsEk3IY+FtkIX86wx5iu4IpK0XyRgGVS18l1eLTqMxhYlZlOohOT7ovF UF4A== X-Gm-Message-State: APjAAAVmSn4B5RynxGNzw+u13uIH4I55DDlIE2gWqHrztqB7HBfOowKM I8o9HS1CEAduPf6Jbu88dW3bkDdCVEA640Ltrug= X-Received: by 2002:adf:e691:: with SMTP id r17mr2873207wrm.67.1559571187782; Mon, 03 Jun 2019 07:13:07 -0700 (PDT) MIME-Version: 1.0 References: <20190603135939.e2mb7vkxp64qairr@pc636> In-Reply-To: <20190603135939.e2mb7vkxp64qairr@pc636> From: Sudeep Holla Date: Mon, 3 Jun 2019 15:12:55 +0100 Message-ID: Subject: Re: [BUG BISECT] bug mm/vmalloc.c:470 (mm/vmalloc.c: get rid of one single unlink_va() when merge) To: Uladzislau Rezki Cc: Krzysztof Kozlowski , Andrew Morton , Michal Hocko , linux-mm@kvack.org, Marek Szyprowski , "linux-samsung-soc@vger.kernel.org" , open list , Stephen Rothwell , Hillf Danton , Thomas Gleixner , Tejun Heo , Andrei Vagin , Sudeep Holla Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Jun 3, 2019 at 3:02 PM Uladzislau Rezki wrote: > > Hello, Krzysztof. > > On Mon, Jun 03, 2019 at 11:07:46AM +0200, Krzysztof Kozlowski wrote: > > Hi, > > > > On recent next I see bugs during boot (after bringing up user-space or > > during reboot): > > kernel BUG at ../mm/vmalloc.c:470! I was about to report the same and saw this thread. > > On all my boards. On QEMU I see something similar, although the > > message is "Internal error: Oops - undefined instruction: 0 [#1] ARM", > > > > The calltrace is: > > [ 34.565126] [] (__free_vmap_area) from [] > > (__purge_vmap_area_lazy+0xd0/0x170) > > [ 34.573963] [] (__purge_vmap_area_lazy) from [] > > (_vm_unmap_aliases+0x1fc/0x244) > > [ 34.582974] [] (_vm_unmap_aliases) from [] > > (__vunmap+0x170/0x200) > > [ 34.590770] [] (__vunmap) from [] > > (do_free_init+0x40/0x5c) > > [ 34.597955] [] (do_free_init) from [] > > (process_one_work+0x228/0x810) > > [ 34.606018] [] (process_one_work) from [] > > (worker_thread+0x30/0x570) > > [ 34.614077] [] (worker_thread) from [] > > (kthread+0x134/0x164) > > [ 34.621438] [] (kthread) from [] > > (ret_from_fork+0x14/0x20) > > > > Full log here: > > https://krzk.eu/#/builders/1/builds/3356/steps/14/logs/serial0 > > https://krzk.eu/#/builders/22/builds/1118/steps/35/logs/serial0 > > > > Bisect pointed to: > > 728e0fbf263e3ed359c10cb13623390564102881 is the first bad commit > > commit 728e0fbf263e3ed359c10cb13623390564102881 > > Author: Uladzislau Rezki (Sony) > > Date: Sat Jun 1 12:20:19 2019 +1000 > > mm/vmalloc.c: get rid of one single unlink_va() when merge > > > I have checked the linux-next. I can confirm it happens because of: > mm/vmalloc.c: get rid of one single unlink_va() when merge > > The problem is that, it has been applied wrongly into linux-next tree > for some reason, i do not why. Probably due to the fact that i based > my work on 5.1/2-rcX, whereas linux-next is a bit ahead of it. If so, > sorry for that. > > See below the clean patch for remotes/linux-next/master: > This patch fixes the issue and resumes booting on my platform. -- Regards, Sudeep