From patchwork Fri Jan 6 16:22:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Axboe X-Patchwork-Id: 1722518 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=p4GdwWWn; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel-dk.20210112.gappssmtp.com header.i=@kernel-dk.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=fVYFOFMx; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NpTC51Qwgz23dq for ; Sat, 7 Jan 2023 03:22:41 +1100 (AEDT) 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:Subject:From:Cc:To:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XVyXoYxG2I18Vpf/HG4kO1ntAIIo5iLffnt8NA9ULaE=; b=p4GdwWWnnIxv3E TiCr4196IcmILLJmturl+CdoNL5gTgmWkt1D55+z3LC145+guwZbK/12ljj3ji1cFdwHhqIgYWmSq Sh/m0X7tJffsmk5f3lnTMJaDhs8d0KSSg4Cv/FOH/un55Xg6tqK25e0X+7iGWsfwvFqXadzsyEwNx 9F1ojc8XzrjT6YH4EDItxO1UreAHk92Hh7+kNy54fxtx1PwFat1fcxlaPAN5nAV61s4Y28yZYJs6U jAJrqYAj4GPMTRtq9gofIBMM3XSkPxRHtsuGgiLREHztdFbQZHjFLuLafi06lCPhgsp3LKYO65IGR EQ5oIqZJZCAdjOfr4KVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDpUB-009ulE-Tm; Fri, 06 Jan 2023 16:22:28 +0000 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDpU7-009uaB-QX for linux-arm-kernel@lists.infradead.org; Fri, 06 Jan 2023 16:22:25 +0000 Received: by mail-il1-x131.google.com with SMTP id i16so679957ilq.9 for ; Fri, 06 Jan 2023 08:22:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=hKrvk1I9tbRGAfYUm/gW03wBpG8HJIHL12UJBL3z+To=; b=fVYFOFMxnEtwpvEBp/4AqzXW+zluAxvyP7nkCgzHEaud074vcfUE3ZncxZDiu7X95Y Qy98Xao9awJP3YikhKgBy/5Yb6sDo9m1hKAGo/IeA3Cx6/Kg4W4HTC2zLcjeJWkMb1Im rTVHJvkAzBqDRnUIph463le/BMVN4/M1zXZWLO3erBdaDVtiq65WTgncbjmmcEc32q3K Hz6F0hnK40L53BbpNNaFjNVOD0pD548PB0sSVQ1il8u7Y7+1ndllfIv0tYnfUb+TA/fy /oMH32zZ4x9mDRmgaXHAdmMEPzf5DsMY5/ZgzpHHpBvHs4qbaTB3v3aMC2xDX7OOzDVl vHSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=hKrvk1I9tbRGAfYUm/gW03wBpG8HJIHL12UJBL3z+To=; b=n7ise4SRD3ZaTVW6UJrqZFVXy1qlwhc85gpFMifkUOdZj9A4WBpqI9CPMmEY/dWQBP +3MLyL7ywsmOZJn9WwfMTNUaYs449yjMsxNw+4m5h2hJesPJ6Cs4PlYcp5A4iBX/UHyF KbH4OD+kj3memRyyC2UszE5JA68NvpWEhB8U82vQ45ZVqxNCNDtGOG0tANZJrtmudeyj cYClZ8HdceizomFOwd9Hp6fMExAAcWp7v6TgYTmNDBclMY2JUje4CKWQWK/M+v2YKnOz 6f9y8UmyU3w91bmTxVCm0ekVPDLiGF2lAXK2cdCsscgl+QpouSIxTagUhTxt1CBLCo0y Jhpw== X-Gm-Message-State: AFqh2krza/ljdPsgKxTSZcLxUSlTs57zXSlTyzymeXaBGdh7kGMmYFps TCeig9nkp2bqCdVfQU9ocLn0vHkLlFTxbHW3 X-Google-Smtp-Source: AMrXdXvEvPmtIoojIiBL1/kmPeh+ZDUHi3K48RiIHh8gjvbg/izfk3kjc5riyQ4Zp/9jT/vpeURfrw== X-Received: by 2002:a92:c151:0:b0:303:9c30:7eff with SMTP id b17-20020a92c151000000b003039c307effmr8334031ilh.2.1673022141595; Fri, 06 Jan 2023 08:22:21 -0800 (PST) Received: from [192.168.1.94] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id a17-20020a92d591000000b0030be6c79645sm469642iln.68.2023.01.06.08.22.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Jan 2023 08:22:21 -0800 (PST) Message-ID: <7839c5ff-13d2-9542-546b-d9cd3e527187@kernel.dk> Date: Fri, 6 Jan 2023 09:22:20 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US To: Linus Torvalds Cc: "Russell King (Oracle)" , LKML , linux-arm-kernel@lists.infradead.org From: Jens Axboe Subject: [GIT PULL] ARM TIF_NOTIFY_SIGNAL fixup X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230106_082224_148288_B825620B X-CRM114-Status: UNSURE ( 8.88 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Linus, Hui Tang reported a performance regressions with _TIF_WORK_MASK in newer kernels, which he tracked to a change that went into 5.11. After this change, we'll call do_work_pending() more often than we n [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:131 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Hi Linus, Hui Tang reported a performance regressions with _TIF_WORK_MASK in newer kernels, which he tracked to a change that went into 5.11. After this change, we'll call do_work_pending() more often than we need to, because we're now testing bits 0..15 rather than just 0..7. Shuffle the bits around to avoid this. Please pull! The following changes since commit 69b41ac87e4a664de78a395ff97166f0b2943210: Merge tag 'for-6.2-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux (2023-01-02 11:06:18 -0800) are available in the Git repository at: git://git.kernel.dk/linux.git tags/tif-notify-signal-2023-01-06 for you to fetch changes up to 191f8453fc99a537ea78b727acea739782378b0d: ARM: renumber bits related to _TIF_WORK_MASK (2023-01-04 07:55:02 -0700) ---------------------------------------------------------------- tif-notify-signal-2023-01-06 ---------------------------------------------------------------- Jens Axboe (1): ARM: renumber bits related to _TIF_WORK_MASK arch/arm/include/asm/thread_info.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)