Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2941888ybi; Mon, 17 Jun 2019 13:11:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBys56mkgsMHfS+/YNjrQW2I+DNsvU9qbrJSEpYx4sW5aAqFt3ZW+2DN7YV3sgFVTaLWDQ X-Received: by 2002:a17:902:e105:: with SMTP id cc5mr90519628plb.320.1560802260030; Mon, 17 Jun 2019 13:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560802260; cv=none; d=google.com; s=arc-20160816; b=WWVtWajMDAASB0nYpKiyHmuxCvTQWXRrKgc6AXXPpHVPapoOBwa32g3z+/D5gU4boA s04uM4H9/NKVrDdkD6Y4uM/DJkNFFFfPRPnKds2W+fxoaoL6O46h7S759R1MEQ02OSKv /yrnLveosqEyKHFk7YzU5a8GvRHPJGdvVvKahivFTXDTa71LyycMu33MTzHgQOijp4I/ T40GfrwyQdtOzBSEIUN81RlSOLz9pZr/NvZ+XR7ExzoY1aJ/RJz5xOQwKmLozXPqxP9C Bp28aSLRQIZ3yVQ5KrRp3Rf7ROvA95mMx5P+xrNeusszpkfrQE04wFJkfPVMVX2dr2gA uzew== 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:dkim-signature; bh=Al3ctU5Ww8ocaVDWU/5q96TvOispLUizRV1CFtDfOaI=; b=NbFpbuWnpvNKnDM2YKFp4BtW0IFn2fUAuvxHaEZ9usZbpeeEgrjOhD77FBZ6Pxc+02 JdiKei68nUPTRlafz9rqJda5OEydDtRyLrIqzCiPYtyUSTCSRn3CFU1uCTOMtWtTvdWa xc/kE8PibYESDlxzje32h0k8BS+VI6NqvcTlTTBaOMnvgE5VwhYL/iKMYm1rY7IqA/49 0qevRFGI7O3U2J5/qZXHIRMaMOqCVNYrswmktb1lJrQCSDEFsQyv6FOW1PUxBBWnwFm+ U5M4pmMS0D9NNWt8TNHy56BCncYg017RbnZCpt1hMDUJ26bUHFnHfDzNeSHdFR55tnR5 uemQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="qf2k/45s"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 135si11596611pgb.357.2019.06.17.13.10.44; Mon, 17 Jun 2019 13:11:00 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="qf2k/45s"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727027AbfFQUJO (ORCPT + 99 others); Mon, 17 Jun 2019 16:09:14 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:45709 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbfFQUJN (ORCPT ); Mon, 17 Jun 2019 16:09:13 -0400 Received: by mail-qt1-f196.google.com with SMTP id j19so12347296qtr.12 for ; Mon, 17 Jun 2019 13:09:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Al3ctU5Ww8ocaVDWU/5q96TvOispLUizRV1CFtDfOaI=; b=qf2k/45sE6OZ+Gh5+DRtXE3WIuJUZT2CIDmri09NlrXYO4Btj+toXNyiwRb328WTSY ddqXPu9rEVhtAPxNvE0K9CDxvTTzKJ0BWWz+j79PNc/TSbO8aw+FFoHXVc4o2PKt8xNE +8jsRM9cZr6cLlby+GvBWV52Ce9fzKzF9u5dyTb3FEfd/G/6GPisk3ItT0GKNsFAcRDv Gh0rYMhi8yC4VqJZqJDfvJ4y48ZkB4H1RhwI7V5LywTJZQ9BlboK1qHYtO6lb+CyKD+8 6fQspClujju8RzhFtk3VEotj1QcxYEPM9LEK3PBmY3sBJLGUu0IjerGPEGXV8M4h1plt s7yw== 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=Al3ctU5Ww8ocaVDWU/5q96TvOispLUizRV1CFtDfOaI=; b=J+VLe+IHyliWSJh00+893WBhtlVVlXF5LjhfK1/YhhMl8Qm2RHoiXNk7BVTI7Zyxfr 16QLG1ANnnGvef7K4PIqI4K12TadTpK0BxZTVgSrxCE8vIkZiGW+f0WpWfqz9UTZFdRa Wl/mP45T04Tw2dReQb9+yRU3LHvpT5tPfh3Dn+zwMr+SeaZUoJXjJ8gHFO26IBQ8w2VK sKGSglqSWJKLCjWLZBZA6McojRhwj6znDIo074yI24ck1cMdL8zRDoTAKdGVDx3Fkof/ 3WrxbxG76Adz0xHqBrPCHCVjViOKGVtzejUPTTUeoKfXuwBri6XRGEFdHUyYt0c1ZRAz v0mQ== X-Gm-Message-State: APjAAAUtwCGcWUvHlUt0D7X19nNRAPXC3jhOZrZAhGxdb+zMKZa51fCG qSqIENPKMtC2czAQz7mRbIHgXDoVbAgQGM7BhWA= X-Received: by 2002:a0c:b66f:: with SMTP id q47mr23211411qvf.102.1560802152622; Mon, 17 Jun 2019 13:09:12 -0700 (PDT) MIME-Version: 1.0 References: <20190529180931.GI18589@dhcp22.suse.cz> In-Reply-To: From: Mikhail Gavrilov Date: Tue, 18 Jun 2019 01:09:01 +0500 Message-ID: Subject: Re: kernel BUG at mm/swap_state.c:170! To: Vlastimil Babka Cc: Michal Hocko , Linux List Kernel Mailing , linux-mm@kvack.org 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 On Mon, 17 Jun 2019 at 17:17, Vlastimil Babka wrote: > > That's commit "tcp: fix retrans timestamp on passive Fast Open" which is > almost certainly not the culprit. Yes, I seen also content of this commit. And it looks like madness. But I can proving that my bisect are properly created. Here I saved all dmesg output from all bisecting steps: https://mega.nz/#F!00wFHACA!nmaLgkkbrlt46DteERjl7Q And only one of them ended without crash message "kernel BUG at mm/swap_state.c:170!" This is step5 with commit 3d21b6525cae. I tried to cause kernel panic several times when kenel compiled from commit 3d21b6525cae would be launched and all my attempts was be unsuccessful. So I can say that commit 3d21b6525cae is enough stable for me and I now sitting on it. > You told bisect that 5.2-rc1 is good, but it probably isn't. > What you probably need to do is: > git bisect good v5.1 > git bisect bad v5.2-rc2 > > The presence of the other ext4 bug complicates the bisect, however. > According to tytso in the thread you linked, it should be fixed by > commit 0a944e8a6c66, while the bug was introduced by commit > 345c0dbf3a30. So in each step of bisect, before building the kernel, you > should cherry-pick the fix if the bug is there: > > git merge-base --is-ancestor 345c0dbf3a30 HEAD && git cherry-pick 0a944e8a6c66 Oh, thanks for advise. But I am used another solution. (I applied the patch every time when bisect move to new step) > Also in case you see a completely different problem in some bisect step, try > 'git bisect skip' instead of guessing if it's good or bad. > Hopefully that will lead to a better result. If you take a look all my dmesg logs you can sure that all bad steps ended with crash "kernel BUG at mm/swap_state.c:170!". And yes, I look again at commit cd736d8b67fb still don't understand how it can broke my system. -- Best Regards, Mike Gavrilov.