Message ID | cover.1705507931.git.jpoimboe@kernel.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 39C37C47258 for <linux-mm@archiver.kernel.org>; Wed, 17 Jan 2024 16:15:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D8DEA6B0107; Wed, 17 Jan 2024 11:15:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D13D46B0108; Wed, 17 Jan 2024 11:15:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B654F6B010C; Wed, 17 Jan 2024 11:15:14 -0500 (EST) 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 A34996B0108 for <linux-mm@kvack.org>; Wed, 17 Jan 2024 11:15:14 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 53878A0F7F for <linux-mm@kvack.org>; Wed, 17 Jan 2024 16:15:14 +0000 (UTC) X-FDA: 81689302548.02.5032D3C Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf18.hostedemail.com (Postfix) with ESMTP id F20C11C001B for <linux-mm@kvack.org>; Wed, 17 Jan 2024 16:15:11 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=mQ9qpc6W; spf=pass (imf18.hostedemail.com: domain of jpoimboe@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=jpoimboe@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1705508112; 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-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=JxcT8OLYmrukWvHC7PIAAWMd6Msb+zoQnCjFnI91Pd4=; b=B7qhYbs838kggt067IcurUnuiWShQ6NS/Ov0D31Ymn0/OZa3oNOvILEh9bJuZ6MBskd7Pq L7Cd2hSKCRSDZb3RIE7tLXeeX35mNiLPtD4/Vzhl98Sp0EELvmewcQLAzeojH0U1oTB3nT Cy+eWhm4A1CyluTEjyzxCJF1zdvq6ns= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=mQ9qpc6W; spf=pass (imf18.hostedemail.com: domain of jpoimboe@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=jpoimboe@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1705508112; a=rsa-sha256; cv=none; b=EIlbb/QD72Ju2cPMm0pN9T/BZqkGZNy72YhHUpEkKD5CEQ1Mk10JLGv5U20P/ctn6O1Hwf 0qPVO0MWUucC/nN9uL9EOAXPbJ3P8Hmg0hFXM6SSXOtLdZEl2Y33dA+fLhduUubMyuWpNy HcDTyxs2B3wMtYqiDjW+jG3dfiYt9GQ= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id E278FCE1BE1; Wed, 17 Jan 2024 16:15:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E78FC433C7; Wed, 17 Jan 2024 16:15:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705508107; bh=BZYkK+VlcfDaqw7thRWlJNvcpJwXTCI1POX/7V/Pkpc=; h=From:To:Cc:Subject:Date:From; b=mQ9qpc6Wfjcm6fMCU0JAECDMfOUrKCVUhADf0b8TUj4xnhb1bSwEzxo4YG7DyELkM rmzD85Oblm6riC0xqfFVZiMlo8Z/CIY0NGDcVHsMny7AHwoCeOmBG6ROUDa3T76Z/0 Gc18XY1Sxmzs87DqwgV2okqgnjPD19KNHkUwN6xezCAwOGeOMJ6q+HcPmkHEu4Elqs hsC8/V6yfuErskJ/eSmOG9WCSaDzYqm3esH7z8uWGwgPiKe4BDlMf9oyjPLtreFeE9 gBqWqQZgDf6vIKfO1fOtYiAnFvPLcXMMh9QB2Hwpp9d3AqcQsG5jFuZ1FY6Chm3Q4h d7mGJ8JqSRLbQ== From: Josh Poimboeuf <jpoimboe@kernel.org> To: Linus Torvalds <torvalds@linux-foundation.org>, Jeff Layton <jlayton@kernel.org>, Chuck Lever <chuck.lever@oracle.com>, Shakeel Butt <shakeelb@google.com>, Roman Gushchin <roman.gushchin@linux.dev>, Johannes Weiner <hannes@cmpxchg.org>, Michal Hocko <mhocko@kernel.org> Cc: linux-kernel@vger.kernel.org, Jens Axboe <axboe@kernel.dk>, Tejun Heo <tj@kernel.org>, Vasily Averin <vasily.averin@linux.dev>, Michal Koutny <mkoutny@suse.com>, Waiman Long <longman@redhat.com>, Muchun Song <muchun.song@linux.dev>, Jiri Kosina <jikos@kernel.org>, cgroups@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH RFC 0/4] Fix file lock cache accounting, again Date: Wed, 17 Jan 2024 08:14:42 -0800 Message-ID: <cover.1705507931.git.jpoimboe@kernel.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: F20C11C001B X-Rspam-User: X-Stat-Signature: e3mt1pkoph6go5s9oqwsuig58e91tj65 X-Rspamd-Server: rspam01 X-HE-Tag: 1705508111-399858 X-HE-Meta: U2FsdGVkX1+oSP9KSh0AyzFSfZIfdQzOSjpBUcAeNuu+X26FSQzZDmjcgd3wQB3Uxt0trEMdoNzX5z0FcRiYB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aLOrPdikQlqxMRxiksJBufEMCiLxrmY8m5F8vgPSU4zXUfj15hqJD1O1g= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Fix file lock cache accounting, again
|
expand
|
On Wed, Jan 17, 2024 at 08:14:46AM -0800, Josh Poimboeuf <jpoimboe@kernel.org> wrote: > Allow flock cache accounting to be disabled with 'mitigations=off', as > it fits the profile for that option: trusted user space combined with a > performance-impacting mitigation. Note that some other kernel objects that don't have any other tight limit are already charged too (but their charging likely did not stand out in any performance regression tests). In the situation you describe, users can already pass `cgroup.memory=nokmem` and get rid of charging overhead in general. IOW, if flock objects are charged, there already is a boot option to turn off such behavior. Regards, Michal