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=-4.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 18D6AC4338F for ; Tue, 27 Jul 2021 19:46:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB18A60F6E for ; Tue, 27 Jul 2021 19:46:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DB18A60F6E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yMIFZers3u91tpDfkG39V0eetu3zor5TVK5s3/Qwyo4=; b=haLgBeOgaXTEW6 VQXyvpPt+f/bbAY26/5z63MuYq8NvT8K+U5nivcdv0jacQ7pbYMgFJnpav4P6+W1DmWqOGcp3vpGh V7S1ZPQ10uKjQ/YeV2nmUDgO3r/BGZ+EcEGUFzv89JwqcO5c69rVLr8ZeYzzaCMlrHeR4Yi/hV0zq OoPqaq9xwrXs2wCyQO1h3d03PTbM8Lf0M3gNHiPRosQwk28gLKMTwJQ/ZkFBQieXXRQ/TXqBONi/T qU/fjBUTr+zMOQitYyIormmFOCJr3pvk0ZCoqO/42/jmEROP/XgN6Z7RUItJ1j6nkOnrNjPivAdtv z6WtGU2cveYMnzQeo1eQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8T0r-00GAYC-KE; Tue, 27 Jul 2021 19:45:13 +0000 Received: from galois.linutronix.de ([193.142.43.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8T0o-00GAWs-5A for linux-arm-kernel@lists.infradead.org; Tue, 27 Jul 2021 19:45:11 +0000 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1627415107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=H8/IIU+aB1t6TDYNpxasWarmhkT94jFM3Vp8vz2AmpY=; b=T8aHoqTIldcfrnPdk4L9Tj9tc7CQmBgEoezkPhu55BKUewqL+/xxrx3PUWfJvpC2dCYVPk Zz2VNcpEU1SHgNsEXkSW/YV9fxF+/PeF2G42Z91jL+nhBJaV3Ub96G7LC6gQVhkmiVUiNf Yr14MgUhO0e3RdPGf5Al48z4GVu4zfDe2ELEULCy5WaN61T7co9h1o2+L3I0qZUhyFjLqC 9LkXZ7pPqOcNDX6y78UB7mQQfGFyN4k1Y4ekpJcrJHEgP0Xn3idPabLXfxzItKobJ92Qfa SUWfIAgtucxVQr+rPWyl4XDENEOQlEHVmWr0b3/sZGcjJPEtDOZWTJZb6Y9RHg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1627415107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=H8/IIU+aB1t6TDYNpxasWarmhkT94jFM3Vp8vz2AmpY=; b=lVhT3s25TqlbzgFLFU2veorcFeYbC2iFjLnzRAIfrxdIRPnACKriiPB2FthXsjzl7cbM9I YH2sWh6/ElS2PhCg== To: Valentin Schneider , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rt-users@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Ingo Molnar , Peter Zijlstra , Steven Rostedt , Daniel Bristot de Oliveira , "Paul E. McKenney" , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , Anshuman Khandual , Vincenzo Frascino , Steven Price , Ard Biesheuvel Subject: Re: [PATCH 0/3] sched: migrate_disable() vs per-CPU access safety checks In-Reply-To: <20210721115118.729943-1-valentin.schneider@arm.com> References: <20210721115118.729943-1-valentin.schneider@arm.com> Date: Tue, 27 Jul 2021 21:45:07 +0200 Message-ID: <87tukfpmm4.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210727_124510_371471_72A6569F X-CRM114-Status: GOOD ( 10.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 21 2021 at 12:51, Valentin Schneider wrote: > Hi folks, > > I've hit a few warnings when taking v5.13-rt1 out for a spin on my arm64 > Juno. Those are due to regions that become preemptible under PREEMPT_RT, but > remain safe wrt per-CPU accesses due to migrate_disable() + a sleepable lock. > > This adds a helper that looks at not just preemptability but also affinity and > migrate disable, and plasters the warning sites. Nice! I just pulled that into the RT queue and it will show up with the next release. Thanks, tglx _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel