Received: by 10.192.165.156 with SMTP id m28csp510930imm; Thu, 19 Apr 2018 02:59:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx48fryzMaQyqmJ6HbQKHPQIj1gczICkVqr5R6w5CX/M/wOs6MVoGD/75mS+wNQXpJzryaAHv X-Received: by 10.99.103.131 with SMTP id b125mr4490745pgc.177.1524131969236; Thu, 19 Apr 2018 02:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524131969; cv=none; d=google.com; s=arc-20160816; b=RxeMBXObiKRmumuwUB5sDMeKMijYAVTaA7H8r9I1yD6wcSDH6V0mgMk3g8DdkB7rLz 65jpN/E0RJoIWAG0FvCreVu6P6l3VC5aHbqrieKGTUeUue4m24nJXOpe2EAczR9IydAf g3lB3ZZVyJkeEQ9Q+7h6vC5ouio/JsHackoGsQKFdxvVM1L5T92nTxYT9MjEvpanLstj N0pUNX5dGpzdl7DBEX6Jd0ftP36zQ/NX+e31ovaBs6AtAE6qDnsPFQW+49N0WmWTiPe5 HMDXi+5V5Ni68aCWciHWRwzOdaANw6C5ANDyUzF+R47BWrH63p/TbtJDEzHFzRx2xZk0 R2ZQ== 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=yk6Vfz2+JibxgIA/0pjD898IMdGx6encTzG/dxnqA8c=; b=B7JfUNhfSo1G5Gb3PiF4tOLArvp1tERnUwriFyETWhCQhBh/EVeH0QIT/u6xWq1ClF kW1cDaPddaQn08NngCGlK4wazkuoeayk0+5W4Xo57UWSc007ofuxXd8MdjK/YgRKg3cA 14qV39Fl+Fpx3Tr8r5G3L0abANLdc/6gkPzJ97s6MNkXUkKRq5ZwQ/iZ+LtHGUxbI+x3 prkSE+yGAgH53JBHpOjs+oE3oeM7xHEnnTVcN2JhojU+AZ3+SUS17kHjCEbDf2KEddrJ PVgl7K1NbzVIc5vqaL/esV5rXBN1g18ZR2bjD6kIFvDPkQyYDJL2Qr8kE6dYT+flgQ/j tsJw== 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 w4-v6si2738571plp.130.2018.04.19.02.59.15; Thu, 19 Apr 2018 02:59:29 -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 S1751822AbeDSJ6H (ORCPT + 99 others); Thu, 19 Apr 2018 05:58:07 -0400 Received: from mga11.intel.com ([192.55.52.93]:54687 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042AbeDSJ6F (ORCPT ); Thu, 19 Apr 2018 05:58:05 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Apr 2018 02:57:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,468,1517904000"; d="scan'208";a="49117403" Received: from um.fi.intel.com (HELO um) ([10.237.72.212]) by orsmga001.jf.intel.com with ESMTP; 19 Apr 2018 02:57:38 -0700 Received: from ash by um with local (Exim 4.90_1) (envelope-from ) id 1f96Js-00026c-D1; Thu, 19 Apr 2018 12:57:36 +0300 Date: Thu, 19 Apr 2018 12:57:35 +0300 From: Alexander Shishkin To: Michal Hocko 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: <20180419095735.epy52pi5lej3w4q2@um.fi.intel.com> References: <20180419023639.cddsueaq47mohfma@wfg-t540p.sh.intel.com> <20180419065111.GM17484@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180419065111.GM17484@dhcp22.suse.cz> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? You're right, of course, I'll fix that. I can't see, though, how it ends up asking order==9 from the buddy allocator. The kmalloc() in question should be asking for ~512kB, theres should be smaller slabs for that. Regards, -- Alex