From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A18EC07E95 for ; Tue, 13 Jul 2021 18:27:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5138661026 for ; Tue, 13 Jul 2021 18:27:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234103AbhGMSao (ORCPT ); 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.