Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2184224ybi; Thu, 18 Jul 2019 04:42:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqypEa06PUDpl60B1slyMLSn72p2HFr43PR76F6pLT75ljvByqJgGrMkyfyFaPLVHCi90TQw X-Received: by 2002:a17:90a:8a0b:: with SMTP id w11mr50242925pjn.125.1563450145154; Thu, 18 Jul 2019 04:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563450145; cv=none; d=google.com; s=arc-20160816; b=SuUvLf6fjfiTzdUbkGsPXaorOZ/PUHZwHWtGWtz//m+PCLSsjqchBUD2orZcVPgvwB 2NORCck4pJnKDkC9DQKpOyrpOfyyKFWbWP5f6EA7MWtPzNpwUbjV3g55wAD6+F+9jSMn k8zuYprrFzoeSQLlJ+720/wLf0kN8eDybDq6OJTc4MfkvK6QXcUks7RuuhBVbKqCq7l/ W1JcyhLvqS77iFey8rPQdbK+8L5l25ODOSHa6Ls4pTUPYa7VTGP73LRUZCK79HB4Fnox r8OuAgkHAB9MC3Eo9gIo0GiTzbiwxuq6Lr6BJzSascNSSS1tCu8OAtrPrH0/qzFAGKUu MzxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=3iT/OaO0Q2X3P8RhjupPqyY23NtLVrvRLicg+uM8g44=; b=ASDfAHkCEd48JT/+gNyIHsvjhbB1vbgj8jubGWDtdY2kKZ0BnTIgW2b+r1a2Izzl90 MH1TcaJTSSki2vpwENcEXlSgNFbSIkUtrbWHEDGg+7vpwC50IeUD0aUQWINLF9e9HOMm 88T8992LaAFA3jnehM6z9wUWz/Uuj3iFz+NW/9io9DKtjiwtatOnpYBjogJ24pYrVgtr J786BqwKpqdEPXNTlOSMchEHI9+GX5hv+QpQcg+Ac2YpEPPPKim6m0jbWL/es7CKiMM2 1EyL1tQL5wjQPZzgqvLmAHwK6gkvFvOtqENloR2Au1EexReu/B59Sj/WJtwydekt5Vxv nAgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazonses.com header.s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw header.b=FDFQtZ4z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8si503156pgc.402.2019.07.18.04.42.08; Thu, 18 Jul 2019 04:42:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazonses.com header.s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw header.b=FDFQtZ4z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390216AbfGRLjd (ORCPT + 99 others); Thu, 18 Jul 2019 07:39:33 -0400 Received: from a9-37.smtp-out.amazonses.com ([54.240.9.37]:33408 "EHLO a9-37.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389994AbfGRLjd (ORCPT ); Thu, 18 Jul 2019 07:39:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1563449972; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:Feedback-ID; bh=3iT/OaO0Q2X3P8RhjupPqyY23NtLVrvRLicg+uM8g44=; b=FDFQtZ4zf6FgI43zUELi6/Zg+fvJYbr4Qi8Uy1KRexi8MISbZNS8UXYwlbwZtKjr ZIcLsvcRKg0taoqGZ17XIpRSbXCYzGRGkp10Y+jcpW8bkQDY7U0lVrCEYNhOxWMj9fc tr6WLHoRK9d2cxDtjdaAcHLtgqjGMyN9te7rG0NQ= Date: Thu, 18 Jul 2019 11:39:32 +0000 From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Waiman Long cc: Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Michal Hocko , Roman Gushchin , Johannes Weiner , Shakeel Butt , Vladimir Davydov Subject: Re: [PATCH v2 2/2] mm, slab: Show last shrink time in us when slab/shrink is read In-Reply-To: <20190717202413.13237-3-longman@redhat.com> Message-ID: <0100016c04e1562a-e516c595-1d46-40df-ab29-da1709277e9a-000000@email.amazonses.com> References: <20190717202413.13237-1-longman@redhat.com> <20190717202413.13237-3-longman@redhat.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SES-Outgoing: 2019.07.18-54.240.9.37 Feedback-ID: 1.us-east-1.fQZZZ0Xtj2+TD7V5apTT/NrT6QKuPgzCT/IC7XYgDKI=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Jul 2019, Waiman Long wrote: > The show method of /sys/kernel/slab//shrink sysfs file currently > returns nothing. This is now modified to show the time of the last > cache shrink operation in us. What is this useful for? Any use cases? > CONFIG_SLUB_DEBUG depends on CONFIG_SYSFS. So the new shrink_us field > is always available to the shrink methods. Aside from minimal systems without CONFIG_SYSFS... Does this build without CONFIG_SYSFS?