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 8C5CDC433EF for ; Tue, 19 Apr 2022 18:25:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1C6876B0072; Tue, 19 Apr 2022 14:25:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 177366B0073; Tue, 19 Apr 2022 14:25:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 016596B0074; Tue, 19 Apr 2022 14:25:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.25]) by kanga.kvack.org (Postfix) with ESMTP id E2CE46B0072 for ; Tue, 19 Apr 2022 14:25:53 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay11.hostedemail.com (Postfix) with ESMTP id AC61D824DD for ; Tue, 19 Apr 2022 18:25:53 +0000 (UTC) X-FDA: 79374457386.14.BC6876B Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf17.hostedemail.com (Postfix) with ESMTP id 9546C4000D for ; Tue, 19 Apr 2022 18:25:51 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A3865B818EE; Tue, 19 Apr 2022 18:25:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 035D2C385A7; Tue, 19 Apr 2022 18:25:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1650392750; bh=XBqfyP6KAmo9qr7LY908MPyc4H5JRUEObbvlWE0N1lw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SExyzxBJW/aJrKEv8PfofSGkAceFkWaTn0TAvCJdsehvc3ELLrV8xQGZcTpDRubMP 1PAHZyeAERbvHGu7b5Cq8QRqcK0urD9SbbrI7nM5m+EsBESE3icZae6kmQv36JB5Y9 tBDEetP+qDzXvVUKdlmrWg5sPODpMx4hQh5mdXp4= Date: Tue, 19 Apr 2022 11:25:49 -0700 From: Andrew Morton To: Roman Gushchin Cc: linux-mm@kvack.org, Dave Chinner , linux-kernel@vger.kernel.org, Johannes Weiner , Michal Hocko , Shakeel Butt , Yang Shi Subject: Re: [PATCH rfc 0/5] mm: introduce shrinker sysfs interface Message-Id: <20220419112549.a42f1d86b025112d3a3aaf8c@linux-foundation.org> In-Reply-To: References: <20220416002756.4087977-1-roman.gushchin@linux.dev> <20220418212709.42f2ba15e00999bb57086b27@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 9546C4000D X-Stat-Signature: cw5q1rxn5f73edh7uegznscx69oowws7 Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=SExyzxBJ; spf=pass (imf17.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspam-User: X-HE-Tag: 1650392751-323734 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: On Tue, 19 Apr 2022 10:52:44 -0700 Roman Gushchin wrote: > > Unclear. At the end of what output? > > This is how it looks like when the output is too long: > > [root@eth50-1 sb-btrfs-24]# cat count_memcg > 1 226 > 20 96 > 53 811 > 2429 2 > 218 13 > 581 29 > 911 124 > 1010 3 > 1043 1 > 1076 1 > 1241 60 > 1274 7 > 1307 39 > 1340 3 > 1406 14 > 1439 63 > 1472 54 > 1505 8 > 1538 1 > 1571 6 > 1604 39 > 1637 9 > 1670 8 > 1703 4 > 1736 1094 > 1802 2 > 1868 2 > 1901 52 > 1934 592 > 1967 32 > < CUT > > 18797 1 > 18830 1 We do that in-kernel? Why? That just makes parsers harder to write? If someone has issues then direct them at /usr/bin/less?