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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id F06DEC433FE for ; Thu, 3 Nov 2022 11:08:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 45CBF6B0071; Thu, 3 Nov 2022 07:08:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 40D146B0072; Thu, 3 Nov 2022 07:08:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3224A6B0073; Thu, 3 Nov 2022 07:08:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 265716B0071 for ; Thu, 3 Nov 2022 07:08:51 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id DBD871602D9 for ; Thu, 3 Nov 2022 11:08:50 +0000 (UTC) X-FDA: 80091858420.07.D950948 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by imf22.hostedemail.com (Postfix) with ESMTP id 442DAC0002 for ; Thu, 3 Nov 2022 11:08:49 +0000 (UTC) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1oqY5Y-0006kG-JP; Thu, 03 Nov 2022 12:08:48 +0100 Message-ID: <9114cdb0-9d2a-d863-9157-40f182b110a8@leemhuis.info> Date: Thu, 3 Nov 2022 12:08:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Content-Language: en-US, de-DE From: Thorsten Leemhuis To: "regressions@lists.linux.dev" Cc: linux-block@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-erofs@lists.ozlabs.org, linux-mm@kvack.org References: <20220915094200.139713-1-hch@lst.de> <20220915094200.139713-4-hch@lst.de> Subject: Re: [REGESSION] systemd-oomd overreacting due to PSI changes for Btrfs #forregzbot In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1667473730;8d63a31e; X-HE-SMSGID: 1oqY5Y-0006kG-JP ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1667473730; h=from:from:sender:reply-to:subject:subject: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=K8C1j+Jpya6fVWpFtJsFgYEmS6WL83ugdouAsL0Q9ug=; b=RVWBks6KPhLZWhGKnEm+cgGsWfps4R1hXbXmv2g+gOtWsgT4Jmd60Z5q5PiDVJcyHRrsQi 8xlNwcYeJJA7OBQhx73yJFiLjbJ2OUaOpcbS797OpbV7IvSPGhyQonWTJW+0Q+OZHAWbfb jl02ui5p62m/MXTFB3LGGNRQsxIKMwo= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=none; spf=pass (imf22.hostedemail.com: domain of regressions@leemhuis.info designates 80.237.130.52 as permitted sender) smtp.mailfrom=regressions@leemhuis.info; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1667473730; a=rsa-sha256; cv=none; b=yS2sgAGbZ1YMFZiS6mDQ4uKfma1L//Jp6k13MaoVMRFwDP0MQfLrbnJnqBEl0Rvlb9/vUW ZRIvg6jzkQ5yrXb8V2X1NXz9TXEKgx3X/oCrkWPplKEar5Gej5qdlWuqyxlaMfAFOLisJJ Q2vip04l/Mkjn1cWNySlEl+xLxeWqlQ= X-Rspam-User: X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 442DAC0002 Authentication-Results: imf22.hostedemail.com; dkim=none; spf=pass (imf22.hostedemail.com: domain of regressions@leemhuis.info designates 80.237.130.52 as permitted sender) smtp.mailfrom=regressions@leemhuis.info; dmarc=none X-Stat-Signature: mo4o9dscrztjwcfp3jwj8c54mqwzinqx X-HE-Tag: 1667473729-910858 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000018, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 03.11.22 11:46, Thorsten Leemhuis wrote: > On 15.09.22 11:41, Christoph Hellwig wrote: >> btrfs compressed reads try to always read the entire compressed chunk, >> even if only a subset is requested. Currently this is covered by the >> magic PSI accounting underneath submit_bio, but that is about to go >> away. Instead add manual psi_memstall_{enter,leave} annotations. >> >> Note that for readahead this really should be using readahead_expand, >> but the additionals reads are also done for plain ->read_folio where >> readahead_expand can't work, so this overall logic is left as-is for >> now. > > It seems this patch makes systemd-oomd overreact on my day-to-day > machine and aggressively kill applications. I'm not the only one that > noticed such a behavior with 6.1 pre-releases: > https://bugzilla.redhat.com/show_bug.cgi?id=2133829 > https://bugzilla.redhat.com/show_bug.cgi?id=2134971 Great, the kernel's regression tracker reports a regression and forgets to tell his regression tracking bot about it to ensure it's tracked... :-D #regzbot ^introduced 4088a47e78f9 #regzbot title mm/btrfs: systemd-oomd overreacting due to PSI changes for Btrfs #regzbot ignore-activity Ciao, Thorsten