Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp302898lqb; Tue, 28 May 2024 16:42:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjy9XnKC0Nkj2AoeH7T5JaOCdgBLGyTkRmhkjTUpqptFEM4+wBEdmxrogDst1ek7EM8cxc51O5WSPXxKU83HxpJINWwXOFi0bFS9MdLQ== X-Google-Smtp-Source: AGHT+IGLrJ2bQaLjpm7+e7PtecDuUFTt06U/q9lYRRz/V5kIQc782gumFaV8Po6eesDpH5qV6/S9 X-Received: by 2002:a17:907:c920:b0:a59:9eab:1622 with SMTP id a640c23a62f3a-a6265148b95mr805805666b.56.1716939766977; Tue, 28 May 2024 16:42:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716939766; cv=pass; d=google.com; s=arc-20160816; b=OIHBvsOVUa5PeBdowVgMpTtgBJajMT4MKAJPD5dMe/j6oycQ6+mf1LL0BJMHMQX5AL 6jos+q7cvSY4voG12VpSAIKe1lTltroUvrSASGd+IoWs+zaxQiB5dxfLXmOSnQ3mGOlx rmx1WXkvaEbLURamNX7PyWXSdj+zRNsj48bk6vri1zck/nIA3DsJCAOGb5znp8TkY4Fr jKAFv3tw+fX0hvUQK2AttZQNH4DMVx16hPPcZkNd4oX7rUkOofa6ZZDhm8a00MvYer1Q frh3RZB+eK3GoBzFIpK+j8Cgv9ocIKok6BdfKnCQ5vDow2E+UhT6Q3EKcS2fomGNypXI HTTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:references:in-reply-to:subject:cc:to:from :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:dkim-signature:dkim-signature :dkim-signature:dkim-signature; bh=pTblSV44JoI1/2qqmMolSGuzYqawu4sElsqNtGrpKbA=; fh=7u0/118JD9V8nyiSGvPoIH4qAn8vmPhnoJKpe6cLOkA=; b=fsC/a+xpfay4LA9w2VVLohqCkNKG76SVcsbgBFRMzXGOtacKCr0K6GcnVwCNKi9Qt5 h34k3RFUzqTt6OTbs23L2744ueWRE1c+L8NWcAL2f37c/dRLZZ196tILunlsFimKmSWL b5X/WXlgs+/O/EUJ7EHAGE6x1mFJz/qe8JypqjGdnckJrDNH2Z80DA1BOOZjLs9fMOWC 687/aWeTI4yfo6rbq/FxjWPgOLoh5mwvwUN0sVtOLc/ssiWiPI4jWh29MmL89a9wJYUA lHQAqJmrT4Z37BE6iISWQo/QlA0WdE2E2nP/UDcH4D/mBRuf+D1KHBZ0SGuewyDC9tqP 7TLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JZxqkpvT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=55bJ24jQ; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JZxqkpvT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-193235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626c800e8esi455950166b.35.2024.05.28.16.42.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 16:42:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JZxqkpvT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=55bJ24jQ; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JZxqkpvT; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-193235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E89521F25477 for ; Tue, 28 May 2024 23:42:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A44E113F447; Tue, 28 May 2024 23:42:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="JZxqkpvT"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="55bJ24jQ"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="JZxqkpvT"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="55bJ24jQ" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 241AF22089; Tue, 28 May 2024 23:42:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716939756; cv=none; b=DFjyBZKUSD0U3xM4s3tBYNO1wwbgeNoxXvw4HpY/LDBw42GfheAt9NodLpuPHAW07JKjbLiAVjxrqzx02Ja32Lv/1ZrRCC2Uo5TzwqId1rcMXN20JfSFMonE+DNMlzZn3sKLC9Mm7omz4nDVJxhn1jRmPuJeGNFaSeZFMoA0Bs4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716939756; c=relaxed/simple; bh=cZSH3kT9UctdONgd7qDj337AP4LgW9cj/++NMrYmq7M=; h=Content-Type:MIME-Version:From:To:Cc:Subject:In-reply-to: References:Date:Message-id; b=lNt0m9AJyO0d1xRDbihYe0wN+jrt5BreoShRlm4hSxEPkVyVttju/NVYCOtiw8enk/uCo63K+QkEEQqRI6oZZgAgIEQPO3aFhheWEEYcVFfwLzv+zMK7haYsk+s4F8ZPxEn+C9umttWNyhIxILHD0I/etwLW0rcVgYxA/5tkxJI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=JZxqkpvT; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=55bJ24jQ; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=JZxqkpvT; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=55bJ24jQ; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3A11A2049A; Tue, 28 May 2024 23:42:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1716939752; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pTblSV44JoI1/2qqmMolSGuzYqawu4sElsqNtGrpKbA=; b=JZxqkpvTho7M0qL/BkC/s5rzvaBbT1SRRYnPfOIKolTp+D9TuXLHSNS0qM5tpcdPXaEk5g RDEojFtlOMXUIqyis/mOd40E+G25TZ0XuW6YIrfHWdUkU7tLDrLp2h3Ujka5ns7I7bsma6 wm1Kqa1OkOta7uxQegRWar0BdPVViBU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1716939752; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pTblSV44JoI1/2qqmMolSGuzYqawu4sElsqNtGrpKbA=; b=55bJ24jQigj4B8kC9F0w3S9td+4N6Rxg5fHf8BdYIrzHu1vHcXr7LPMznpvsHCQIbG2iRw 1C4PhggwxK7aDGAw== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1716939752; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pTblSV44JoI1/2qqmMolSGuzYqawu4sElsqNtGrpKbA=; b=JZxqkpvTho7M0qL/BkC/s5rzvaBbT1SRRYnPfOIKolTp+D9TuXLHSNS0qM5tpcdPXaEk5g RDEojFtlOMXUIqyis/mOd40E+G25TZ0XuW6YIrfHWdUkU7tLDrLp2h3Ujka5ns7I7bsma6 wm1Kqa1OkOta7uxQegRWar0BdPVViBU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1716939752; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pTblSV44JoI1/2qqmMolSGuzYqawu4sElsqNtGrpKbA=; b=55bJ24jQigj4B8kC9F0w3S9td+4N6Rxg5fHf8BdYIrzHu1vHcXr7LPMznpvsHCQIbG2iRw 1C4PhggwxK7aDGAw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 93B1A13A5D; Tue, 28 May 2024 23:42:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id YabiDd9rVmbrOgAAD6G6ig (envelope-from ); Tue, 28 May 2024 23:42:23 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "NeilBrown" To: "Chuck Lever III" Cc: "Jon Hunter" , "Greg Kroah-Hartman" , "Chris Packham" , "linux-stable" , "patches@lists.linux.dev" , "Linux Kernel Mailing List" , "Linus Torvalds" , "Andrew Morton" , "Guenter Roeck" , "shuah@kernel.org" , "patches@kernelci.org" , "lkft-triage@lists.linaro.org" , "pavel@denx.de" , "f.fainelli@gmail.com" , "sudipm.mukherjee@gmail.com" , "srw@sladewatkins.net" , "rwarsow@gmx.de" , "conor@kernel.org" , "allen.lkml@gmail.com" , "broonie@kernel.org" , "linux-tegra@vger.kernel.org" Subject: Re: [PATCH 5.15 00/23] 5.15.160-rc1 review In-reply-to: <171693366194.27191.14418409153038406865@noble.neil.brown.name> References: <>, <0377C58A-6E28-4007-9C90-273DE234BC44@oracle.com>, <171693366194.27191.14418409153038406865@noble.neil.brown.name> Date: Wed, 29 May 2024 09:42:15 +1000 Message-id: <171693973585.27191.10038342787850677423@noble.neil.brown.name> X-Spam-Flag: NO X-Spam-Score: -2.63 X-Spam-Level: X-Spamd-Result: default: False [-2.63 / 50.00]; BAYES_HAM(-2.83)[99.28%]; SUSPICIOUS_RECIPS(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWELVE(0.00)[22]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; TAGGED_RCPT(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com,gmx.de]; R_RATELIMIT(0.00)[from(RLewrxuus8mos16izbn)]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[nvidia.com,linuxfoundation.org,alliedtelesis.co.nz,vger.kernel.org,lists.linux.dev,linux-foundation.org,roeck-us.net,kernel.org,kernelci.org,lists.linaro.org,denx.de,gmail.com,sladewatkins.net,gmx.de]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_COUNT_TWO(0.00)[2]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email] On Wed, 29 May 2024, NeilBrown wrote: >=20 > We probably just need to add "| TASK_FREEZABLE" in one or two places. > I'll post a patch for testing in a little while. There is no TASK_FREEZABLE before v6.1. This isn't due to a missed backport. It is simply because of differences in the freezer in older kernels. Please test this patch. Thanks, NeilBrown From 416bd6ae9a598e64931d34b76aa58f39b11841cd Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Wed, 29 May 2024 09:38:22 +1000 Subject: [PATCH] sunrpc: exclude from freezer when waiting for requests: Prior to v6.1, the freezer will only wake a kernel thread from an uninterruptible sleep. Since we changed svc_get_next_xprt() to use and IDLE sleep the freezer cannot wake it. we need to tell the freezer to ignore it instead. Fixes: 9b8a8e5e8129 ("nfsd: don't allow nfsd threads to be signalled.") Signed-off-by: NeilBrown --- net/sunrpc/svc_xprt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index b19592673eef..12e9293bd12b 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c @@ -764,10 +764,12 @@ static struct svc_xprt *svc_get_next_xprt(struct svc_rq= st *rqstp, long timeout) clear_bit(RQ_BUSY, &rqstp->rq_flags); smp_mb__after_atomic(); =20 + freezer_do_not_count(); if (likely(rqst_should_sleep(rqstp))) time_left =3D schedule_timeout(timeout); else __set_current_state(TASK_RUNNING); + freezer_count(); =20 try_to_freeze(); =20 --=20 2.44.0