Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp661085pxb; Thu, 2 Sep 2021 12:08:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9FZPh6M6tAVF4mYbXWR7gtTmF6l/DHx/cW9v63zcjQCT5NOlhN3Z24A0c8hYS/eNbnATe X-Received: by 2002:aa7:c993:: with SMTP id c19mr4958439edt.239.1630609690118; Thu, 02 Sep 2021 12:08:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630609690; cv=none; d=google.com; s=arc-20160816; b=gwyYAsBcXBHMnQckSP/6LNisMFW4+r3qVXOlSQjyt0DjhfQh9c38VlRdoOzbz7ego7 CCyIpPFJFlhnpVvlfo09MyMeBsYxPaW9VFksXuL/cRl/C4tScEyeiHBdh43fVyKk395n kZNVd9PS69iDlNBLkJ0v/kJd7rF7SfBlsm/4tLYZKqui51/IMU9FPEpWuvnhAtASkHsg ZEPNJReH7G47q5iiBf4ZTx5nuyeLvr+gqOdYVdC8CgxHyGeB+yfVFxLBkOaOEmTa/I9b An0C+vaM7rxF4Zm99K9bu+KX76+yjtzXDL2/NofnY1bArt5PCcKrt1ikWeHES55pJvXX Py3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=OXZqISKb+3/D+M8ylFbCk/JGwY6mKgD1ydjQnDG3zVs=; b=1BO/jhHEOeTuYiTtZRgyz32/YF8OrSEBXOqw7RKbyuSpUe43Yl4m4AdUiywjxwTFgE mU8Vo9fiP+ss0r1Xqf1LarPTMkGKNnwUgJC2wcSVXlfjJKUkYKA5ew0uFAkUp805IEyV cELfnfoPNt8spfrHIRr+Kb1fqL+eIKBXdgIQPi7PkZ/SlfCTNz/oCPihgRPp35+g2wyx bDUKP4SGyIeYkRVNkj7kfr/7Ypb1sofLf2ohtx2yUzuz5FZNSLIadleV+M7Fm3RIIfad EWszuUsE27PT9HouQ1DdAEbe+Nc3NX5LJg45gq2weik4S8MO6tMwgqoGDCdId7/ZrgLd GLEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=VJFpFBPm; 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 b18si2753650edw.576.2021.09.02.12.07.44; Thu, 02 Sep 2021 12:08:10 -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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=VJFpFBPm; 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 S1347294AbhIBTGi (ORCPT + 99 others); Thu, 2 Sep 2021 15:06:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347293AbhIBTGb (ORCPT ); Thu, 2 Sep 2021 15:06:31 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CEE7C061760 for ; Thu, 2 Sep 2021 12:05:33 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id y18so3883015ioc.1 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=c+XMtpmsOfkNohhucyy9XuWmEa+CawDm8RXa3XkreMoVTjmJa7Y9kT56ZritIyfEx5 n9+aC4tw8AqKXiOlqA9fnsrmviOaVhBsQ2rzJh8kc5cKG0UUffSUwiLThpjzgf/9yYgr AwvRVWyEPO/9wYF3OdbgrmkThe1idLTOfuHLvSE+eeyU7i+jVMJSg3V42FzIcHTRpFT1 Z5nlENZRujWFQnjvRrImBv2mEIjdpbRe9kOPuxSOkzSHvyjGMF/wscTSPwjx6OHrLnCn 3zHjpp19wkgoRxWJrILYomJr+k5ZpJiV+URWTUokXpkginsJfQlKjjR0I+pVAtzGgF8d fwrg== X-Gm-Message-State: AOAM531MH0ofnPGHa88SHH32mrkmJ3WPfYAATxzFAuFG6tULI2bdBO9q wKH3ylfNjYJ2zNkJBY+fuel8dv7OSP3OHg== 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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