Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6741375ybi; Mon, 22 Jul 2019 00:46:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNJnBT8+I4cKQhnuFQtOXorw4tp+hd2XeraullCTCrSi+y2Cs6jJdzzYHBqF6EQLzy0B4f X-Received: by 2002:a63:2004:: with SMTP id g4mr67239120pgg.97.1563781561510; Mon, 22 Jul 2019 00:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563781561; cv=none; d=google.com; s=arc-20160816; b=KyW+Mp2HH0ef4XW7Ep+fZ7KPmOYsq+UbzMJYAcC2jRaeDYF8pq8RkQfzNyn/Be3SVx jK6OzY1rMFXeaCznjhLb3t1DFwby2MLTjirhuCD/6Ew63gufDE7ptYk0BpS9t3ZC2bgy h4zULnEdjr9PYkfqFh0WSCawejBcCA5qSwtjTolkb72EOfxdGk5hsoQdQ/JasuOzLNec m+4Q4EyrvMZx3Rh+y+fxZtYmGrXS/gq2RzeoHDPCAZ8D7a+OETHwUwsBomL4F2nCffSk n8l141NNjCKWQeNhgrqhvd/APoD+e0sgr6HEYNvK/na9iwnroY5Xyj/07N88wxW9m6dL 8MDQ== 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=goM7DFQaf6yBihv7hYKIqrgRbj96aT6x15Ur8xgtkLU=; b=fYL9oIgXa4/g/suPrMby2+ySzE6YaBU6OQN+NW4S68ka7BXQ5I9AUw6N3FC+OHP/XF 4rE/hIRv7Cn0ETrBaLJ0aoXrj31TuNK1oBiq4WWJgGa7cjMd3xRYxQmEXbg4AhcNRnOl Le83GIG4/7o4IHKo5WVRrHvJbpODdQ9de3c6Kg+GRzwaiwau/HAYyd3wrbfzJ6LB2SwT +saijzsTaqHaKYk1o0nFFLawM89CpiCtS00Xq3Kt42fFGsRzdudiWMjK2lDrFpE42vs2 qvXKPCWZmx4BqwIf9IjQm68FFc3/G1CvXWxOCe1D160HK7ieeXdlLi+vhgqca1B0KBq1 33mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="e/C/Qyee"; 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 d184si8273037pga.551.2019.07.22.00.45.45; Mon, 22 Jul 2019 00:46:01 -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="e/C/Qyee"; 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 S1727514AbfGVHbs (ORCPT + 99 others); Mon, 22 Jul 2019 03:31:48 -0400 Received: from mail-io1-f47.google.com ([209.85.166.47]:36052 "EHLO mail-io1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbfGVHbs (ORCPT ); Mon, 22 Jul 2019 03:31:48 -0400 Received: by mail-io1-f47.google.com with SMTP id o9so71864042iom.3 for ; Mon, 22 Jul 2019 00:31:47 -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=goM7DFQaf6yBihv7hYKIqrgRbj96aT6x15Ur8xgtkLU=; b=e/C/QyeeWDa6zq+nDkcLUZ5Exo4cc7mnQg9NAgvaz/ZyM1R6o28D2ZEv26f9ZTWUBL iHu76n6WOhKYmjVoS8rN01eVUUGVKnGiSqh2KcJ3xnQz5OSa3GafZFXARBPLK3i+3pZ7 COdo9q+mP/JKIQDIH4hyek/cbxEeeqxhcJv8JunZgUDvI2lYHQ+qbWq37a+uoWiHxa7A XCm4m01SMs7QwH6zhwzjiRmKoYdAstz/4cppv/p9Uxd+BR9E3vgTfjTnVujYA5Fp7kM3 JBG5AacCR2DOqhiBvsGz+kPkCgAL3/HO49rWOthn+2jBUJ6t5TG13JkXryYrxMeWV4KP Y84g== 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=goM7DFQaf6yBihv7hYKIqrgRbj96aT6x15Ur8xgtkLU=; b=W6NcC5PUH/OU/r4G4y/nOZvltWycUc6NJi6ZmL3ufq/JXiquMjIj9Ygl6GdPMI1JEm pRDLWwK688ZsE0u89bQSNFbg399Tr11kKDn5Fw0lHrGtXAP5J5kQt3ZfkZ8sHcbW6EWw qHPMDJZzeqjvff5/tth9G1ojrfXSC7gtPv1VHwPud57hBCrQhv4n5dlNRufZuH75T//X BMLcw+5SuKBnwlXVOkUJ0eiKXmUSEr+kheKEkf7UL/7CzvmYnMnVc7usLdF+iYDkbqTf zMqicEu0/iCQRcLJxWjbsJyt0sEMIGAxT9ZZ0FRKw2y7KK3thONMzKaWUGnemejc16S0 fHYg== X-Gm-Message-State: APjAAAWwMLrITzo+RfS9e/72Mk7TZg4XXPvDJts+E+WyYdePS8lFZOyA OgiuUi3DFZyxpux0e/UZfpYvPV8TtTH87RqUqiA= X-Received: by 2002:a05:6638:281:: with SMTP id c1mr70371567jaq.43.1563780707278; Mon, 22 Jul 2019 00:31:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mikhail Gavrilov Date: Mon, 22 Jul 2019 12:31:36 +0500 Message-ID: Subject: Re: kernel BUG at mm/swap_state.c:170! To: huang ying Cc: Linux List Kernel Mailing , linux-mm@kvack.org, Huang Ying 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, 22 Jul 2019 at 06:37, huang ying wrote: > > I am trying to reproduce this bug. Can you give me some information > about your test case? It not easy, but I try to explain: 1. I have the system with 32Gb RAM, 64GB swap and after boot, I always launch follow applications: a. Google Chrome dev channel Note: here you should have 3 windows full of tabs on my monitor 118 tabs in each window. Don't worry modern Chrome browser is wise and load tabs only on demand. We will use this feature later (on the last step). b. Firefox Nightly ASAN this build with enabled address sanitizer. c. Virtual Machine Manager (virt-manager) and start a virtual machine with Windows 10 (2048 MiB RAM allocated) d. Evolution e. Steam client f. Telegram client g. DeadBeef music player After all launched applications 15GB RAM should be allocated. 2. This step the most difficult, because we should by using Firefox allocated 27-28GB RAM. I use the infinite scroll on sites Facebook, VK, Pinterest, Tumblr and open many tabs in Firefox as I could. Note: our goal is 27-28GB allocated RAM in the system. 3. When we hit our goal in the second step now go to Google Chrome and click as fast as you can on all unloaded tabs. As usual, after 60 tabs this issue usually happens. 100% reproducible for me. Of course, I tried to simplify my workflow case by using stress-ng but without success. I hope it will help to make autotests. -- Best Regards, Mike Gavrilov.