Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4680712pxb; Wed, 20 Apr 2022 08:05:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaDj99Dn2Iz76SMJx1KX8lus4XNxRJBALNULPNHBnvYDXpkoBAc+7xMHD86rf2cvlclhLl X-Received: by 2002:a05:6402:288d:b0:41d:7db9:de95 with SMTP id eg13-20020a056402288d00b0041d7db9de95mr23818065edb.206.1650467141886; Wed, 20 Apr 2022 08:05:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650467141; cv=none; d=google.com; s=arc-20160816; b=zVvd23OQ+gcbXuLXWzGUkfp4JSd8d+nJa+Np75ubFq/gVUssTcVvqNEjpiss3Ag29s Qcb56ASUni5/3AN+MIY6hZuBkrGERfzsf0CdGdqqOnNEI60/eTBu4TVaqx0RSmbxgPO9 89OPaQTeSmE90QwF9FDsdOyudxmh7l0xl/uUh8xLHlS2/Im0XKdCB7KSxu6EUQDQH74e DDPaMNNtY+lJSvLCWrWz35eaGPVt+JSyUtRsPOqiiLPFWcfyHxCWhEK8Z+vfMSN0Y2ie o5PJWZV13KSWv0PMNJH0GkmT6qBDcC6WR8PnPWWOVlm3b1qEkJ16wqApJ/qWtqN3aCRw hOtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=IPURQmhZ91oxvrCVGTKgrSF3/F+I43aBIq3Ilf9F0Qw=; b=zyXSGqzP488njroNBJfMK1I7VGlCiQgKKrG2Q/SJ2R+nD6Ha8rpHrMFvpzZTAJCxpo xqR6UEQRR9j7FZ29NbV5Bfuk4+K8QJd0uZKLEk+vBbIyGy1s+Oex9heW1SNiqknFjyr0 9qpaRyBjMq+iwQYbE5sHmnkhaNjm/j35ygOt/I/IiMHy8WHKhnIBt0W9ed0yAIfBAORf g64kkcm4L39oS8zaBWRsqShFl9s0Um6i3POAISl064N367iePfTr7ClPCFit4tcEBIii 9C2z0UZhA2LKYwRrfxkiKU/ddW07geoiQKH4dT7l3TG/HE5p5wgekr/y+b36fTJtjGOT zyTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=SExyzxBJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d23-20020a170906345700b006e11851a042si2088224ejb.406.2022.04.20.08.05.13; Wed, 20 Apr 2022 08:05:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=SExyzxBJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357237AbiDSSfE (ORCPT + 99 others); Tue, 19 Apr 2022 14:35:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357222AbiDSSeo (ORCPT ); Tue, 19 Apr 2022 14:34:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EECB32F for ; Tue, 19 Apr 2022 11:25:51 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id ECA8D6143D for ; Tue, 19 Apr 2022 18:25:50 +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-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?