Received: by 10.192.165.148 with SMTP id m20csp2417395imm; Sun, 22 Apr 2018 06:46:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx49W9DHdhJog+ZRLueAJeJAueYUhcllJ39rDRGKNMugDaio+pz/3fDBdTI8mfrXxMfe48kGR X-Received: by 10.99.106.4 with SMTP id f4mr13632088pgc.225.1524404773796; Sun, 22 Apr 2018 06:46:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524404773; cv=none; d=google.com; s=arc-20160816; b=mSOAPiwGN80qeZgQTT53ecOmdh34o/TtzvNoa+eQtQuqe3eGngDfblsxLz+K3d8Xu6 u03eQp2ZIi8iBoxJUiH7+iZlpqfZfVbCt2M0lME/jKVfTL4m6xvuzfAAl+rdDOQ5bYXa bCBOLIiHIjutU3Vr3szZfenPG97C6EzhuvL29DgSntwVwjCJ4KUxNlbDpIIpbHBPU86E JGJ+92yz2q+4KNXqO9JqFvXD/FJ4JwN4ivy/AiHMPLPEdqL1F4luVw2BkznScW7A1157 VPejzWXH6ThrujnNq6NAgijvVM7rwa27EfkUXHjvXGP/UKeTVc7ffsUZXSXDTpBfFWZT A2zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=W69fzkzS0I5egNU/TmbqGfmFRil/od9OVNFr8oXSa8o=; b=jUs4DPfWiFC5HFHHFsJmt94MqK6SM/CVcV7QbQWDXuj6OLSkdYM61Ksmn41XsOnjc7 BjaageJ/Ps4PKGh8DrPS2WfXLUpOYOsawX4ajvjwszEnQqwP+5Dv3QurxRdCxw0vblR7 YWGHT/D+DE9XQytBRfDGOmewcRl97FL+vPi0tpG/+3d4cAsV+rqhQG7TtZby6Bc7+rRg Dbl6aM+Ci3M0fhW9OugGN0pr1Brgtm9YQytvqKZ3ZOff4J5emcpNRTPi7JvInFQA6tqD ovm6jmitkBdaq784tfAgzEoTYwH1BvE/gE3X1akBnbiukPmQuAcJm8ClZHP8dHdDxhQy Xvhw== 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 g127si8045283pgc.428.2018.04.22.06.45.57; Sun, 22 Apr 2018 06:46:13 -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 S1751709AbeDVNop (ORCPT + 99 others); Sun, 22 Apr 2018 09:44:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:54871 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751163AbeDVNoo (ORCPT ); Sun, 22 Apr 2018 09:44:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 07A98AB3C; Sun, 22 Apr 2018 13:44:43 +0000 (UTC) Date: Sun, 22 Apr 2018 07:44:39 -0600 From: Michal Hocko To: "Kirill A. Shutemov" Cc: Fengguang Wu , Alexander Shishkin , linux-kernel@vger.kernel.org, lkp@01.org Subject: Re: [dummy_stm_init] swapper/0: page allocation failure: order:9, mode:0x14040c0(GFP_KERNEL|__GFP_COMP), nodemask=(null) Message-ID: <20180422134439.GK17484@dhcp22.suse.cz> References: <20180419023639.cddsueaq47mohfma@wfg-t540p.sh.intel.com> <20180419065111.GM17484@dhcp22.suse.cz> <20180419102114.irntfpy6i77apfq5@node.shutemov.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180419102114.irntfpy6i77apfq5@node.shutemov.name> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 19-04-18 13:21:14, Kirill A. Shutemov wrote: > On Thu, Apr 19, 2018 at 08:51:11AM +0200, Michal Hocko wrote: > > On Thu 19-04-18 10:36:39, Wu Fengguang wrote: > > > Hi Alexander, > > > > > > FYI this happens in mainline kernel 4.17.0-rc1. > > > It dates back to at least v4.15. > > > > > > It occurs in 4 out of 4 boots. Here KVM has 1G memory. > > > > > > This high order allocation caused lots of noises in our boot testing. > > > We could disable this device in our tests, but it would be great if > > > there are better ways out. > > > > > > [ 75.039408] Product name: fake-design-for-testing > > > [ 75.040995] fmc fake-design-for-testing-f001: Driver has no ID: matches all > > > [ 75.042509] fmc_trivial: probe of fake-design-for-testing-f001 failed with error -95 > > > [ 75.044323] fmc fake-design-for-testing-f001: Driver has no ID: matches all > > > [ 75.045644] fmc_chardev fake-design-for-testing-f001: Created misc device "fake-design-for-testing-f001" > > > [ 75.061570] swapper/0: page allocation failure: order:9, mode:0x14040c0(GFP_KERNEL|__GFP_COMP), nodemask=(null) > > > > Is there any reason why > > > [ 75.063338] stm_register_device+0xf3/0x5c0: > > > stm_register_device at drivers/hwtracing/stm/core.c:695 > > > > cannot use kvzalloc? > > Michal, do you understand how allocating ~512kB leads to order-9 failure? > Shouldn't it be order-8 at most? That's not clear to me. How do you tell it is 512kB? The page allocator consumes order so maybe something miscalculated the order when calling the allocator? -- Michal Hocko SUSE Labs