Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp668896imm; Fri, 5 Oct 2018 09:47:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV61hI2YVuWwPXKYYZNZAqkXpg/hEcDwxDdrKXMGH/MVafQIST1Muismgwh0dPMV9BIzqu44V X-Received: by 2002:a62:b09:: with SMTP id t9-v6mr12886653pfi.36.1538758020955; Fri, 05 Oct 2018 09:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538758020; cv=none; d=google.com; s=arc-20160816; b=xfSM5qlbbMCUg10chuYEZpFPY4vqQ0p/R6BvIBJLi4JYLPFkAag2DlO7cEW8oJaYhZ 4k4ygTMBvibnM4j3HL6ubttmG1XtwIGJYnNgd+ysOwHm2CHFAoGiQ8uqE/7S6RVd1mLL 16O5d6thP5hsjSS40qWdzv+JB8IEUljJjeFjXOGM5lu1Io96aN9WQICTdq2iuStWFKpB 0yyCoIVbbNCSIVzPIRGhYiJzXgL7AJQeLYo8Ha4PbJRnOXUgl1iYxI14ZZlUuQp+DXHZ clbRHgwJpjwK1i+U4ZFB9wdPviFHrOgkzsX2qYUFRYwQm6rmOiKdZlLiP8jf3yMbpPRV 2hdg== 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; bh=vMwdkNR5a8aM6q40v6xrdVBzjiohH9u0LfU9jdwg5tI=; b=bkOO/0d5wXHfGe4MLAzZAYp9ZO/Rtz3fLeEGZzvNsmJji3Ads/9geHGm5r71sxht4X f7ZO1JL/CcDjsKOMpY3UzuCCJKOZPBJ6Q/jhgyNd85dH/WMvB9tehBEkIbyuEOHwhaPu mvwbPtQuvaOhZAyjEwuB1A54X9aA5WERwyCAaDYlycQF/CipyBWiXHi4mGWnuy9BKtC+ G3+Fu9De2RSjCHOv77YAOvxZ+MYKt9w933nKbmM0g+Emt3klOU2gjbheBYqBX7Ocj2Cn mugR8BPWXc1XXBrV3HqH+l5dkyPuXdD0vdzxI3CE2c7nSKpA+8lqXs+FtT2DY/HMNFf9 z5kQ== ARC-Authentication-Results: i=1; mx.google.com; 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 t21-v6si9900827plj.352.2018.10.05.09.46.45; Fri, 05 Oct 2018 09:47:00 -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; 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 S1728538AbeJEXqF (ORCPT + 99 others); Fri, 5 Oct 2018 19:46:05 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:38659 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727572AbeJEXqF (ORCPT ); Fri, 5 Oct 2018 19:46:05 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1g8TFD-0004ml-RS; Fri, 05 Oct 2018 18:46:27 +0200 Date: Fri, 5 Oct 2018 18:46:27 +0200 From: Sebastian Andrzej Siewior To: Julia Cartwright Cc: Ingo Molnar , Thomas Gleixner , Peter Zijlstra , "linux-kernel@vger.kernel.org" , "linux-rt-users@vger.kernel.org" , Steffen Trumtrar , Tim Sander , Guenter Roeck Subject: Re: [PATCH 1/2] kthread: convert worker lock to raw spinlock Message-ID: <20181005164627.m6w5s44s25dhu7ln@linutronix.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-09-28 21:03:51 [+0000], Julia Cartwright wrote: > In order to enable the queuing of kthread work items from hardirq > context even when PREEMPT_RT_FULL is enabled, convert the worker > spin_lock to a raw_spin_lock. > > This is only acceptable to do because the work performed under the lock > is well-bounded and minimal. > > Cc: Sebastian Andrzej Siewior > Cc: Guenter Roeck > Reported-and-tested-by: Steffen Trumtrar > Reported-by: Tim Sander > Signed-off-by: Julia Cartwright Acked-by: Sebastian Andrzej Siewior Sebastian