Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1961398ybe; Tue, 3 Sep 2019 06:10:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxQeQmbgkZbxFnVDVxX73JdIgFtfeFX4vYIGLCWSNbz6q1z9gXixgZecRknv/cXNJmHsfK X-Received: by 2002:a17:90a:22b0:: with SMTP id s45mr7669904pjc.22.1567516240113; Tue, 03 Sep 2019 06:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567516240; cv=none; d=google.com; s=arc-20160816; b=fnrMsTmBpQQJDkU/Q93a/hVx3l9ug+7QnncyhB1rJKiE1YkrNOwxHJoc+fWZH2SPq7 50dieO7X6/URPOHiw6JBw04/t7XdWxomj6hSLm0j+MWRbPdcsF9TLoOIJOv8beNS0GZ2 ONpynu5jMk+M9NjLtQyS2mDlB5UxhigM+2OK09uWtda0gre8flnwRUulJ6/6Y4JdY1R1 wVvkuHyZNu0NZ9zycbY+HIQe3kWBpv4AJn1WawXCG4vDGq2XskiIhFv0pqmpSvTJWzD1 S4PKcfe4AQHeOdldg1cJhFbbYARzY3z1S7SQSxL+F2sh7NDAvtVuoJw2LQ/YHeNf6wng y/aA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ETzAbbkevwxD4WHdw2i7t/oeS90+Yp41OqXuzTpbuqM=; b=tKAb6MLEgy09/0s7a9q6cIcYOVdI7QOSAVwfvL9riuCKWbfdbyCumlUB8HLng8Aqfy V0cLVGl7HO5mH3vaC3BeQ/xcSdLORaHf/bCI+nqFa7EuMfe/Yezw9JdLIUdjQTUw8UTT JQksJRDNC099g2QuHJ3DZi/XEaygtO2NlBhXsVyJOnIdJY+6DVGxnybOlUlf2FO7VoPU aiWfKOv3qPkx6dG5nBMGXkXyjtV37AjFRZPF7WK7YuS9+1xeRIV4VnT+xPTNIUZpjEdB eYj4swRJSM46eai4wwscRVDeeRrSAPHFhkeJqrIjZdUxgxre1um0hKKOQYfReTYvDLpP FYXg== 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 d34si14802586pla.22.2019.09.03.06.10.23; Tue, 03 Sep 2019 06:10:40 -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 S1729289AbfICNJe convert rfc822-to-8bit (ORCPT + 99 others); Tue, 3 Sep 2019 09:09:34 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:60192 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729119AbfICNJd (ORCPT ); Tue, 3 Sep 2019 09:09:33 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1i58Ys-0000gh-Mb; Tue, 03 Sep 2019 15:09:30 +0200 Date: Tue, 3 Sep 2019 15:09:30 +0200 From: Sebastian Andrzej Siewior To: Clark Williams Cc: bigeasy@linutronix.com, tglx@linutronix.com, linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PREEMPT_RT PATCH 2/3] i915: convert all irq_locks spinlocks to raw spinlocks Message-ID: <20190903130930.isctetjvzckgubuh@linutronix.de> References: <20190820003319.24135-1-clark.williams@gmail.com> <20190820003319.24135-3-clark.williams@gmail.com> <20190903080335.pe45dmgmjvdvbyd4@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20190903080335.pe45dmgmjvdvbyd4@linutronix.de> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-09-03 10:03:35 [+0200], To Clark Williams wrote: > anything in a brief test. What I saw however is that switching to > fullscreen while playing a video gives me ~0.5 to ~2ms latency. This is > has nothing to do with this change, I have to dig deeper… It might be > one of the preempt_disable() section I just noticed. > I would prefer to keep the lock non-raw unless there is actual need for > it. That latency spike is caused by the iommu, qi_submit_sync() to be exact. Without the iomm I don't see much difference between the two patches… Sebastian