Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3025844imm; Fri, 19 Oct 2018 03:59:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV62NPti8hXj8YjhX0mVGwKjESFqZutH6FQwL3uAXOu0XMb9MprqZo5cOPhtkRGlMCWVFBHl8 X-Received: by 2002:a17:902:8d95:: with SMTP id v21-v6mr33411521plo.21.1539946775149; Fri, 19 Oct 2018 03:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539946775; cv=none; d=google.com; s=arc-20160816; b=zSpZufb/DJNWfSiNrtl4XMsRoA+BzgIlF4vyW9hhMXQR/YfN//B8Pk+WfWbp5VCvdf QPOajKPdgMJ8FH/6y8NcUx+GttWcTW7vk0IQJRH2VyyC8EGh3HWNUVeweQIGj7fPSu/v 9T90EYY7p6ZXgkx12MlUJX63guiqN6jSsoTr0bJvlCugGutLnuslhTUBBoRl63VH1wPH dB8b2MMMVpdnadSyAaY84lRGHX+dyGFn4MvS8SENrgzwi5esWxSQ5/Qc8wwQ6J+LbkyG kIyGE6lorwOUeUa7N2V3MKzepvsR1SKBh8YN+7/jMVHrvb1vIoeC/aA6WCmayRpC7BEC 1gWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=L2HhGR0Jvs5NQOqmSuWE7snZ2hvk4LUH6PSmxPO6MfY=; b=Z+Byl5N1fOePRasjkkIvJ0tQsJVa4PaMy5fiYh0/MerndOgUbFsapplX18r9Ty0KjI LngEzNGGIfZIAD6GtEOAFlm0lEvw+FVpoTTFSXRRzH7MWg7EaPc87TfWX2hlCZroe9Ya JmlBVSsGgMmGHJqkpmSCzfmwaZY+70vQogdES4mcGEdYumcDL5JNqso4yKutrEQeq9L7 AuJI5plBZkR27MR51PSi24OK0ZY27b3RfSAiyCf3ZLnLXXDl4E+w646AO4gPaJ2Ure2W e683cvm+hjMQitlCnlVncbHkiqXG1BMqFJHH7ERBPG3RMMPeOFRWWSANN+qtcwDd1A5e qjMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Jagnw5Ye; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o10-v6si25274191pfk.10.2018.10.19.03.59.19; Fri, 19 Oct 2018 03:59:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Jagnw5Ye; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727008AbeJSTEd (ORCPT + 99 others); Fri, 19 Oct 2018 15:04:33 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42184 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbeJSTEd (ORCPT ); Fri, 19 Oct 2018 15:04:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=L2HhGR0Jvs5NQOqmSuWE7snZ2hvk4LUH6PSmxPO6MfY=; b=Jagnw5Ye34yPxo+qne0ftlsRN Mys2xteLfLLwEkoYzu72fgpj3i4+yvylciN17Zc7gLkGBOfwScQgtLlZb2qXvzKXn/jOfdc+GtjnW vG3dYHyIz+75e79Uoc3pW5wmlh2575CHQa9K2E/157KfawvLLXuh5FZnzxkm/QA9k3mDXZNMG/kci 9N0sKPgi2PZ1NU3B5N4apORPgRRrO6TPyHt1SlCne5VIeuRA4EMm293sEN9kfuoZjPBqJlSLMxCtz KJQrBDXoHx0pCtMqKnMmtYaC3xFIlJmRjXckiHH/fXLcOeyOnw3jG3TfJU4JiTSrMs/oj2mXsB+eR nR6m9FtFA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gDSUX-0005JY-SH; Fri, 19 Oct 2018 10:58:54 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 8268020297B7B; Fri, 19 Oct 2018 12:58:51 +0200 (CEST) Date: Fri, 19 Oct 2018 12:58:51 +0200 From: Peter Zijlstra To: Andrew Morton Cc: Sebastian Andrzej Siewior , Dmitry Vyukov , Clark Williams , Alexander Potapenko , kasan-dev , Linux-MM , LKML , linux-rt-users@vger.kernel.org, Thomas Gleixner Subject: Re: [PATCH] mm/kasan: make quarantine_lock a raw_spinlock_t Message-ID: <20181019105851.GG3121@hirez.programming.kicks-ass.net> References: <20181009142742.ikh7xv2dn5skjjbe@linutronix.de> <20181010092929.a5gd3fkkw6swco4c@linutronix.de> <20181010095343.6qxved3owi6yokoa@linutronix.de> <20181010214945.5owshc3mlrh74z4b@linutronix.de> <20181012165655.f067886428a394dc7fbae7af@linux-foundation.org> <20181013135058.GC4931@worktop.programming.kicks-ass.net> <20181015163529.30ed9b0ac18e20dd975f4253@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181015163529.30ed9b0ac18e20dd975f4253@linux-foundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 15, 2018 at 04:35:29PM -0700, Andrew Morton wrote: > On Sat, 13 Oct 2018 15:50:58 +0200 Peter Zijlstra wrote: > > > The whole raw_spinlock_t is for RT, no other reason. > > Oh. I never realised that. > > Is this documented anywhere? Do there exist guidelines which tell > non-rt developers and reviewers when it should be used? I'm afraid not; I'll put it on the todo list ... I've also been working on some lockdep validation for the lock order stuff.