Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3724635rdh; Tue, 28 Nov 2023 02:00:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBUV2NMvcjATwhW/F0A9yZ8oeo7RdVuIS60bcoCqVMrN6Fmid9qV6HNza+un+BRHKVqe6c X-Received: by 2002:a17:903:1245:b0:1cf:6675:b313 with SMTP id u5-20020a170903124500b001cf6675b313mr21306420plh.22.1701165600512; Tue, 28 Nov 2023 02:00:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701165600; cv=none; d=google.com; s=arc-20160816; b=NUljFQ1HtMcO3Y3whq8mVuFvH0OqlkH3TaFIGpLii72MLpTa7EPyf3uwg7x1L5lyzb 86/k0NuTVc1uCXMo3Ntto8oUHhplQhXvFN77s5c01lfIfbeAnaHYb/HPhDIk8dSy3r4P 6qKhppC8MSPDFin2ZiaFj67uuWu6FAKgyrB2Vz6le88CqvfU9TY8TTw5trvmtPy758LD jF/6CXMjaLH/Erbbzphu1J3IEDuPSB78wk+F9wLcu3U+0K/hApZvLEGMKoiAdwfCt+m4 PWrJonmucbI8re4kv9l540cojvNacbPCZXhZBSUJx4gzgXxNr1WvISjR3m+a9zWvdiM3 H0MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=d4mv3q+Ul3hTUgO7pU2eP+aXvbGY8pfWGacb4a4AKAY=; fh=vsui4a5JQiOqvyl3Oa2XWCVbzVDAgoPI+XPVimGx4NA=; b=G5JMsEWHvN81pHRYj1KBZjh4FINIF54eiz5ZH85+19rgnTm2HPmG56eBHqe5j6jUiT b3t2wOqBaTvcIh5qQY5WG4pGeZ9A7121PAtDXSqXJOQ6+/hCbsdGUIf0XpN0iolhq1Xf u4RNzjecT1YLtST1pG9V07tQbkQNT+LNVqQxowU2TG3RwzXPM0nxGt8SWaiN0IdFdFek Zd7o9LQNkU0E0kH2/7zVJlEd8yXHCyi6F0fdnHCwba7zEcR4nWAcDWZCvy3mkX21xmP7 2GNmiPoSswbd/sHpQE0nQ6z9QdCRSlkcUeMXmJnIq0pZQ9crt3GE62qhtuwHq6WD7251 kvdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id t24-20020a1709028c9800b001cbe9b9f160si11015223plo.5.2023.11.28.02.00.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 02:00:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 257A580DD691; Tue, 28 Nov 2023 01:59:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230105AbjK1J7n (ORCPT + 99 others); Tue, 28 Nov 2023 04:59:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjK1J7l (ORCPT ); Tue, 28 Nov 2023 04:59:41 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A48A10E for ; Tue, 28 Nov 2023 01:59:47 -0800 (PST) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104: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-out1.suse.de (Postfix) with ESMTPS id 8CF5E2198B; Tue, 28 Nov 2023 09:59:46 +0000 (UTC) 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 738901343E; Tue, 28 Nov 2023 09:59:46 +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 5OouGRK6ZWWZaAAAD6G6ig (envelope-from ); Tue, 28 Nov 2023 09:59:46 +0000 Date: Tue, 28 Nov 2023 10:59:45 +0100 From: Michal Hocko To: Kent Overstreet Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/7] shrinker debugging improvements Message-ID: References: <20231122232515.177833-1-kent.overstreet@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231122232515.177833-1-kent.overstreet@linux.dev> X-Spamd-Bar: +++++++++++++++ Authentication-Results: smtp-out1.suse.de; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=suse.com (policy=quarantine); spf=fail (smtp-out1.suse.de: domain of mhocko@suse.com does not designate 2a07:de40:b281:104:10:150:64:97 as permitted sender) smtp.mailfrom=mhocko@suse.com X-Rspamd-Server: rspamd2 X-Spamd-Result: default: False [15.00 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(2.20)[]; MIME_TRACE(0.00)[0:+]; BAYES_HAM(-0.00)[26.61%]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.980]; MIME_GOOD(-0.10)[text/plain]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:106:10:150:64:167:received]; DMARC_POLICY_QUARANTINE(1.50)[suse.com : No valid SPF, No valid DKIM,quarantine]; FUZZY_BLOCKED(0.00)[rspamd.com]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[] X-Spam-Score: 15.00 X-Rspamd-Queue-Id: 8CF5E2198B X-Spam: Yes X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 28 Nov 2023 01:59:58 -0800 (PST) On Wed 22-11-23 18:25:05, Kent Overstreet wrote: > This patchset does a few things to aid in OOM debugging, in particular > when shrinkers are involved: > > - improves the show_mem OOM report: it now reports on shrinkers, and > for both shrinkers and slab we only report the top 10 entries, > sorted, not the full list > > - add shrinker_to_text(), for the show_mem report and debugfs, and a > an optional shrinker.to_text() callback to report extra > driver-specific information > > - add extra counters for the shrinker_to_text() report > > - implement shrinker.to_text() for bcachefs, giving an example of how > to use the callbacks Could you expand some more about all these? What is the additional information you can get and how usable that is? Some examples would be really useful in the cover letter to establish grounds for the discussion. /me is looking at patches to find out more. -- Michal Hocko SUSE Labs