Received: by 2002:a9a:4c47:0:b029:116:c383:538 with SMTP id u7csp852477lko; Tue, 13 Jul 2021 11:29:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOsuTVuUSFEFQWWfwla+54S5RyX3IQzr8xMIrerVZPYJ3OW4Zx8XhcQzY8bn6BdjBc5ul8 X-Received: by 2002:a17:906:a24c:: with SMTP id bi12mr7333967ejb.530.1626200963018; Tue, 13 Jul 2021 11:29:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626200963; cv=none; d=google.com; s=arc-20160816; b=nH1LIyDaP/9Fvi6WxFEp4u4Tv5jqTmskJiDXfSRF6XUyp0pE7X/B7E23/L47GYyNm9 ik2/7n77wWDTfHQpzB9ubxkDV6FXvUfUCGYx+XVjpPp31xXzf2zjlp28ibyRmfxwM+C9 Y9n61Jzt+7Oa6E/1vmpQA2NllBKAA9Icc6ftxDaVpeUSHkTJNlBTFp8g4qjAM1Uho6/K S7vtIg7Dv6PwmtwTS3JaZ6dK/AAr/8hQyJmptKmHMwyHcBL2SZeLRSO1NL2LHuY/7+ut jfED1PSqwOmLPW//6I05tMGdO7bDInf1OYRM6lZHZbM8RESyIW5QDlRjH9UvZ6wMpLlg q3IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RTUla6zuFUPTqseVsWpYBgdTAv5+R8DOR77tEmNTqKs=; b=FCER+71m3AHqKZoixAZEQdQ00goJNTaAPsBbc1MMDeOyMUBNmqt1kNpUnCVFqjVboh 7G1KMlkd4WPx0PW5QIoW8YPpRgAnKeE+PqFROoaLzxI8pNfpHwlvh4qTt6GR9IDWbCDa ET4XlzeBFItekeaSs7gC1Cz93VxNYqGv3CJRvNGa+BPbh/LiSDv1mX/qRmNVg0cfEBr/ JfTwPSnRJM0q7MlIR6HvXm4u1pTZ3h0662rACQMRkFBeybTfX3YWONQQSbUmj3Lot+On utXR8Nm6ATAUavhrel5iwEkVu9d1qXFVwFBHMiZhi+AJLNqsrhg0kr8/jGMcmVHPthb1 rNFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=gee7Z4ke; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ar9si11189003ejc.405.2021.07.13.11.28.59; Tue, 13 Jul 2021 11:29:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=gee7Z4ke; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbhGMSao (ORCPT + 99 others); Tue, 13 Jul 2021 14:30:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbhGMSan (ORCPT ); Tue, 13 Jul 2021 14:30:43 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87583C0613DD for ; Tue, 13 Jul 2021 11:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=RTUla6zuFUPTqseVsWpYBgdTAv5+R8DOR77tEmNTqKs=; b=gee7Z4kePFhquxLog2Ms2JhHTX EFTsV83Tb4S8OdBWxReB8Qc9UjRE2DJ5YVzFWeZGerVMdMKhpSbbdSEzzUnevN4RCUbgkGZy1YN1G ea2RbxppohlaOceUAyxTyOno3C6abgD2izJczoEtQe4CvTqjE7rmJjw9jX1DuQr/eSiSx+raC9f+M kQKDclk/WuIc67U8UJQt2NLo0+PXr0/3E6vgEXT125S5vIt+oUzh82f+02pD7/dvSDBksZg7h27aS wFYJbYhQRoxueW1683uOg/+wsXoNBwcgT7FRgNvvu6MedThYoCIs1BaJNuRwVG0jE9UgLu/V8pSK6 W2e6RQOw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3N7N-001NAo-74; Tue, 13 Jul 2021 18:26:59 +0000 Date: Tue, 13 Jul 2021 19:26:53 +0100 From: Matthew Wilcox To: Linus Torvalds Cc: kernel test robot , Uladzislau Rezki , Mel Gorman , Hillf Danton , Michal Hocko , Nicholas Piggin , Oleksiy Avramchenko , Steven Rostedt , Andrew Morton , LKML , lkp@lists.01.org, kernel test robot Subject: Re: [mm/vmalloc] 5c1f4e690e: BUG:sleeping_function_called_from_invalid_context_at_mm/page_alloc.c Message-ID: References: <20210713142414.GA28943@xsang-OptiPlex-9020> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 13, 2021 at 11:19:29AM -0700, Linus Torvalds wrote: > Does anybody see what the problem is there? > > There's an odd report _after_ the warning: > > [ 131.345319] raw_local_irq_restore() called with IRQs enabled > [ 131.366561] RIP: 0010:warn_bogus_irq_restore+0x1d/0x20 > [ 131.433334] __alloc_pages_bulk+0xbb8/0xf20 That's the key -- __alloc_pages_bulk has interrupts disabled and then page_owner allocates memory for the stack dump. Mel has a fix; I think we're just waiting for it to hit your tree.