From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751098AbeDVH4f (ORCPT ); Sun, 22 Apr 2018 03:56:35 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:33995 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750827AbeDVH4e (ORCPT ); Sun, 22 Apr 2018 03:56:34 -0400 X-Google-Smtp-Source: AIpwx49AAuwvAdmnXMuKVVMZC70QuLwtRvwzUSZr9nl8tD6kWkJIQTEQIDF7SXMtsd8XYoF4QFhIDg== Date: Thu, 19 Apr 2018 13:21:14 +0300 From: "Kirill A. Shutemov" 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: <20180419102114.irntfpy6i77apfq5@node.shutemov.name> 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/20180323 Sender: linux-kernel-owner@vger.kernel.org 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? 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. -- Kirill A. Shutemov