Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp334432ybl; Fri, 23 Aug 2019 01:23:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqaNjayUaFBtSNERJtRxUo9IUkF2IrrHLt0slgL4rVB7nI8p/yMAUHmjpdTZu8aivVxqnk X-Received: by 2002:a17:90a:c404:: with SMTP id i4mr3889964pjt.81.1566548635645; Fri, 23 Aug 2019 01:23:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566548635; cv=none; d=google.com; s=arc-20160816; b=trlq390sQlyd8sqfmZaaWtpD8Cmsg+iTjOMkp5XbMoC/legKKsjtl19k40Tg8hlJ7s EcgqHP5zHSUtPjcCl1MfiJTkFCqVWDdXnJO1pc+aDfFaPdPbOcdr8raOmbT9WqxBWhDN gkgDgqiBiGhC/PLqq/r01Wn1DQzVjU2fD3RALBIqZDPkDCGiBDhPR3mlzYdG6sB8TDf6 0CM8NPYvM9taoaH8w8uZr9lRBsXMTTe5peLaFCTqZ+JhA0ADYf8uyETpLI39NN6g5D/L 94LmUhzM9wXTmfRPu6aSMnhrFGlDAB0jr9k9PTcCAtgRrKVp86pHV9e32eV3rn0+Uj7x cMUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :date:cc:to:from:subject:message-id:dkim-signature; bh=vxPfoC0K37mnp3V+GpCj023qxV0rNOwXkgRWVieVWW8=; b=v5oTnkVQkGjTYJ1pa76R8s7rihW1Z1yEeT6s472uiFdgwvo0JqwpH2+D/u9ra8qZOA hgyiIb9MM8G7Mu2q121GDScynp5Ni/4TfeRWFhPvn7/Drc5OLOJCQxZlZ6LKWDWBGkyU pGTyM7yqyKLGiu/gAn2DL193GHi3PpDInGlWvKcOYzNoqOaseE+k9BZfM0/iStRcumAf DIXjzo3jIQpAkYip33+nE5xpkiHCygYcWwF8rImLLakpFC9u9E6d2dxTZL3/cyJdg6lh Qg0Jh2awEahsTiKHfM6tp/sbvn35edceCKestMJ+FJUxKlmepGsQErklfKHiKEF6Pk6T Kbzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=PLrk8H2B; 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 v5si776337plp.223.2019.08.23.01.23.39; Fri, 23 Aug 2019 01:23:55 -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=@lca.pw header.s=google header.b=PLrk8H2B; 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 S2390699AbfHVVd2 (ORCPT + 99 others); Thu, 22 Aug 2019 17:33:28 -0400 Received: from mail-qk1-f178.google.com ([209.85.222.178]:44581 "EHLO mail-qk1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732656AbfHVVd2 (ORCPT ); Thu, 22 Aug 2019 17:33:28 -0400 Received: by mail-qk1-f178.google.com with SMTP id d79so6473127qke.11 for ; Thu, 22 Aug 2019 14:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=message-id:subject:from:to:cc:date:mime-version :content-transfer-encoding; bh=vxPfoC0K37mnp3V+GpCj023qxV0rNOwXkgRWVieVWW8=; b=PLrk8H2BymBEZahoF59hFB0vu+Rlj3dcFORH8U/VLQz5lmfldbLWbXm5lPRI6y9DaB jdBGob2L93ac72r5a/vhZb9zgfuo1Clq/S/LtTzt8w2WPtEnU6gy1WkFc9HR42wqI7YN Tq+AKWjKxwpEHbNANfdNs5d6ojZDpSNbNVIdZXUTOMG/ErQlEKVf4duJgz2baPpBTh2u TeFyb2MXctxh3mP0iZ1K4sL9dAYSsO4AB8wRnJ02EguJTYDH6oJG/f5g0oA1k5Uv301F Y6jgIPWhTtznIskycpFi+MFl7G6b/IpyAhufT1Kf6kY3Q2Zxykt4TJDaQm0MqRJ82jFW OzKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:mime-version :content-transfer-encoding; bh=vxPfoC0K37mnp3V+GpCj023qxV0rNOwXkgRWVieVWW8=; b=c0MMF+twbytHHLGVcUYqyXSJhozem5pzu5mpqybTb+QWJyT/RI4d+7zLKZUAKuDEQK mUG4/PM0u6IFqgUw/lau3NjHN5QBe6ye4oZHOI2lTfHBqVS/Dc6urLkuoMn357zI1q6u yS/pSF5swifARsgIymB5xbtfoH5elZJXusPVNlkT5oSHC6j2USR1cdJaUUu3KvEZUc9x AGZz7iVe37l41OLourdPCcqHgSryoj4gyfhavJz4DFKlUtJ4ntJNjkWJKp1nAw6eLCd9 V3hoFi4MLcr8su6qE2Xv4fio9zalYG5lHK6ZHnsigfkFcO01T4Rs3SR4mYjsEp1op7kJ t06w== X-Gm-Message-State: APjAAAWuRVUjxt2tXpAF1xWtc5/du6Z4a99V1vLije/Hbj7Ty7nmMknB rtmRA86xopFoN/BajgcrYHrT1fRY4/0= X-Received: by 2002:ae9:dfc3:: with SMTP id t186mr1144058qkf.322.1566509606883; Thu, 22 Aug 2019 14:33:26 -0700 (PDT) Received: from dhcp-41-57.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id u187sm493578qkh.110.2019.08.22.14.33.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Aug 2019 14:33:25 -0700 (PDT) Message-ID: <1566509603.5576.10.camel@lca.pw> Subject: page_alloc.shuffle=1 + CONFIG_PROVE_LOCKING=y = arm64 hang From: Qian Cai To: Catalin Marinas , Will Deacon Cc: Dan Williams , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peter Zijlstra Date: Thu, 22 Aug 2019 17:33:23 -0400 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 (3.22.6-10.el7) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org https://raw.githubusercontent.com/cailca/linux-mm/master/arm64.config Booting an arm64 ThunderX2 server with page_alloc.shuffle=1 [1] + CONFIG_PROVE_LOCKING=y results in hanging. [1] https://lore.kernel.org/linux-mm/154899811208.3165233.17623209031065121886.s tgit@dwillia2-desk3.amr.corp.intel.com/ ... [  125.142689][    T1] arm-smmu-v3 arm-smmu-v3.2.auto: option mask 0x2 [  125.149687][    T1] arm-smmu-v3 arm-smmu-v3.2.auto: ias 44-bit, oas 44-bit (features 0x0000170d) [  125.165198][    T1] arm-smmu-v3 arm-smmu-v3.2.auto: allocated 524288 entries for cmdq [  125.239425][ [  125.251484][    T1] arm-smmu-v3 arm-smmu-v3.3.auto: option mask 0x2 [  125.258233][    T1] arm-smmu-v3 arm-smmu-v3.3.auto: ias 44-bit, oas 44-bit (features 0x0000170d) [  125.282750][    T1] arm-smmu-v3 arm-smmu-v3.3.auto: allocated 524288 entries for cmdq [  125.320097][    T1] arm-smmu-v3 arm-smmu-v3.3.auto: allocated 524288 entries for evtq [  125.332667][    T1] arm-smmu-v3 arm-smmu-v3.4.auto: option mask 0x2 [  125.339427][    T1] arm-smmu-v3 arm-smmu-v3.4.auto: ias 44-bit, oas 44-bit (features 0x0000170d) [  125.354846][    T1] arm-smmu-v3 arm-smmu-v3.4.auto: allocated 524288 entries for cmdq [  125.375295][    T1] arm-smmu-v3 arm-smmu-v3.4.auto: allocated 524288 entries for evtq [  125.387371][    T1] arm-smmu-v3 arm-smmu-v3.5.auto: option mask 0x2 [  125.393955][    T1] arm-smmu-v3 arm-smmu-v3.5.auto: ias 44-bit, oas 44-bit (features 0x0000170d) [  125.522605][    T1] arm-smmu-v3 arm-smmu-v3.5.auto: allocated 524288 entries for cmdq [  125.543338][    T1] arm-smmu-v3 arm-smmu-v3.5.auto: allocated 524288 entries for evtq [  126.694742][    T1] EFI Variables Facility v0.08 2004-May-17 [  126.799291][    T1] NET: Registered protocol family 17 [  126.978632][    T1] zswap: loaded using pool lzo/zbud [  126.989168][    T1] kmemleak: Kernel memory leak detector initialized [  126.989191][ T1577] kmemleak: Automatic memory scanning thread started [  127.044079][ T1335] pcieport 0000:0f:00.0: Adding to iommu group 0 [  127.388074][    T1] Freeing unused kernel memory: 22528K [  133.527005][    T1] Checked W+X mappings: passed, no W+X pages found [  133.533474][    T1] Run /init as init process [  133.727196][    T1] systemd[1]: System time before build time, advancing clock. [  134.576021][ T1587] modprobe (1587) used greatest stack depth: 27056 bytes left [  134.764026][    T1] systemd[1]: systemd 239 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default- hierarchy=legacy) [  134.799044][    T1] systemd[1]: Detected architecture arm64. [  134.804818][    T1] systemd[1]: Running in initial RAM disk. <...hang...> Fix it by either set page_alloc.shuffle=0 or CONFIG_PROVE_LOCKING=n which allow it to continue successfully. [  121.093846][    T1] systemd[1]: Set hostname to . [  123.157524][    T1] random: systemd: uninitialized urandom read (16 bytes read) [  123.168562][    T1] systemd[1]: Listening on Journal Socket. [  OK  ] Listening on Journal Socket. [  123.203932][    T1] random: systemd: uninitialized urandom read (16 bytes read) [  123.212813][    T1] systemd[1]: Listening on udev Kernel Socket. [  OK  ] Listening on udev Kernel Socket. ...