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=-7.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 1435DC433F5 for ; Thu, 2 Sep 2021 19:05:35 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 837546108B for ; Thu, 2 Sep 2021 19:05:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 837546108B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 0B0CE8D0001; Thu, 2 Sep 2021 15:05:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 060856B0072; Thu, 2 Sep 2021 15:05:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E91EC8D0001; Thu, 2 Sep 2021 15:05:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0238.hostedemail.com [216.40.44.238]) by kanga.kvack.org (Postfix) with ESMTP id DC4AA6B0071 for ; Thu, 2 Sep 2021 15:05:33 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id A4B9625F26 for ; Thu, 2 Sep 2021 19:05:33 +0000 (UTC) X-FDA: 78543562146.21.717AF0A Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by imf20.hostedemail.com (Postfix) with ESMTP id 5B496D0000A9 for ; Thu, 2 Sep 2021 19:05:33 +0000 (UTC) Received: by mail-io1-f51.google.com with SMTP id e186so3834165iof.12 for ; Thu, 02 Sep 2021 12:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=OXZqISKb+3/D+M8ylFbCk/JGwY6mKgD1ydjQnDG3zVs=; b=VJFpFBPmPT4XwBset+uhhMg0ISb1GCW1kJjLzIvNCL6HihhiJecjUCX07oZc/ZuJGY qbmY2IykKGetWm3LUH4WhEUUzZ39SbZtGtHYSMpesWA1DF77FM11s8tG6kP3bSF6y9/5 6chGfyevjD+mUyFhMOpZqj2gO6AVIq/S6RJXEgNVPynXqZAGJILUKdqd03De4g4i84yi ypJJjl8uuEB3rk4a1LWCiB9AShM+Q7UqbkrhsghMrlYGi8pyiP5Dkk33SUomc0xmAi7x hO6JQR4aX9BLCZ4dQ9VKPwIRfe+QexBmGZHuj9v5A8+Rx8EvwIGYFAqS8vlF7RtNa9dE j0uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OXZqISKb+3/D+M8ylFbCk/JGwY6mKgD1ydjQnDG3zVs=; b=Wh6fcAzy+ZeN1YEuiDNPXmjPTGVNGYRLeumivamjrNXiXnT8qfS5IN+ryWvFhNTx66 lgFOe1IrOfsLdIFN3YAPc6s9zHuo6Hj9k7n/DFlgFGeY5XsC+tqyxEB8Bm3nG+SiybXv OCdqQhQMtLuGbyXfmC9Tgd7GbfENX2uzcEMMTb/j5EMT+Awv16QeHTATLirsSnbr0cfG 6Teu/DtZRVNycvdTpd5ZgqtdyPbUo8NkR23lAtXchUKZ3dKT2xQ1ri6tIcnoj/nqsLo9 z/x6DTpSlG3B4qDMsdZ2W+gx+i/J2Lmaw8DEGB3ugSqORA8w3B+P1JaYhmWAwn0zJqOx 8UPw== X-Gm-Message-State: AOAM532LGbDrqwSeDDZ4CR3OhPi4nZxZX/l8EzfaNqE7wU0cvoHFtCKs bJ+ncoce2kBSC9u6HCuZal5j11sQkIRpOA== X-Google-Smtp-Source: ABdhPJyLVCBeT3FHrHbpJg7PKehRjUVDZaZR/dOXMi9h3h3zHQzyUMZdd7pRDdLHSiB0SYn02kYOpw== X-Received: by 2002:a05:6638:1642:: with SMTP id a2mr4130653jat.88.1630609532376; Thu, 02 Sep 2021 12:05:32 -0700 (PDT) Received: from [192.168.1.30] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id b12sm1389830ilo.44.2021.09.02.12.05.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Sep 2021 12:05:31 -0700 (PDT) Subject: Re: slub: BUG: Invalid wait context To: Matthew Wilcox Cc: LKML , Thomas Gleixner , Christoph Lameter , Linux Memory Management List References: <3b7661a1-dbde-ea54-f880-99777c95ae22@kernel.dk> <91af18d0-64cb-71ac-e9f4-4135fe02cb33@kernel.dk> From: Jens Axboe Message-ID: <4b884d2b-bcac-4967-d792-f7653084c38d@kernel.dk> Date: Thu, 2 Sep 2021 13:05:31 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=VJFpFBPm; dmarc=none; spf=pass (imf20.hostedemail.com: domain of axboe@kernel.dk designates 209.85.166.51 as permitted sender) smtp.mailfrom=axboe@kernel.dk X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 5B496D0000A9 X-Stat-Signature: idb4cr3owxc9uhwusibqeaciawu8t3dd X-HE-Tag: 1630609533-344110 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 9/2/21 1:02 PM, Matthew Wilcox wrote: > On Thu, Sep 02, 2021 at 12:59:33PM -0600, Jens Axboe wrote: >> On 9/2/21 12:56 PM, Matthew Wilcox wrote: >>> On Thu, Sep 02, 2021 at 10:22:23AM -0600, Jens Axboe wrote: >>>> Hi, >>>> >>>> Booting current -git yields the below splat. I'm assuming this is >>>> related to the new RT stuff, where spin_lock() can sleep. This obviously >>>> won't fly off IPI. >>> >>> You want to turn off PROVE_RAW_LOCK_NESTING for the moment. >> >> Because? > > help > Enable the raw_spinlock vs. spinlock nesting checks which ensure > that the lock nesting rules for PREEMPT_RT enabled kernels are > not violated. > > NOTE: There are known nesting problems. So if you enable this > option expect lockdep splats until these problems have been fully > addressed which is work in progress. This config switch allows to > identify and analyze these problems. It will be removed and the > check permanently enabled once the main issues have been fixed. > > If unsure, select N. This isn't a new text, it's been like that for quite a while. The warning is new on -git with that option. -- Jens Axboe