From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937708AbdJQVkV (ORCPT ); Tue, 17 Oct 2017 17:40:21 -0400 Received: from out0-243.mail.aliyun.com ([140.205.0.243]:56418 "EHLO out0-243.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934647AbdJQVkU (ORCPT ); Tue, 17 Oct 2017 17:40:20 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R911e4;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03306;MF=yang.s@alibaba-inc.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---.9AKWRvq_1508276407; Subject: Re: [PATCH 3/3] mm: oom: show unreclaimable slab info when unreclaimable slabs > user memory To: David Rientjes , Michal Hocko Cc: cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <1507656303-103845-1-git-send-email-yang.s@alibaba-inc.com> <1507656303-103845-4-git-send-email-yang.s@alibaba-inc.com> <20171017074448.qupoajpjbcfdpz5z@dhcp22.suse.cz> From: "Yang Shi" Message-ID: <7ac4f9f6-3c3d-c1df-e60f-a519650cd330@alibaba-inc.com> Date: Wed, 18 Oct 2017 05:40:06 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/17/17 1:59 PM, David Rientjes wrote: > On Tue, 17 Oct 2017, Michal Hocko wrote: > >> On Mon 16-10-17 17:15:31, David Rientjes wrote: >>> Please simply dump statistics for all slab caches where the memory >>> footprint is greater than 5% of system memory. >> >> Unconditionally? User controlable? > > Unconditionally, it's a single line of output per slab cache and there > can't be that many of them if each is using >5% of memory. So,you mean just dump the single slab cache if its size > 5% of system memory instead of all slab caches? Thanks, Yang >