From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760627AbdJQVuJ (ORCPT ); Tue, 17 Oct 2017 17:50:09 -0400 Received: from mail-it0-f45.google.com ([209.85.214.45]:54715 "EHLO mail-it0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760499AbdJQVuF (ORCPT ); Tue, 17 Oct 2017 17:50:05 -0400 X-Google-Smtp-Source: ABhQp+ReTjiV5ge7FRA8TPtFmYAYi9tzmFCU7r5ydFzL2HiICMU4xHYmaHVCKfVbSkHy3nsgp3ZbUg== Date: Tue, 17 Oct 2017 14:50:02 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Yang Shi cc: Michal Hocko , cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] mm: oom: show unreclaimable slab info when unreclaimable slabs > user memory In-Reply-To: <7ac4f9f6-3c3d-c1df-e60f-a519650cd330@alibaba-inc.com> Message-ID: 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> <7ac4f9f6-3c3d-c1df-e60f-a519650cd330@alibaba-inc.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1113868975-1429983982-1508276951=:100885" Content-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1113868975-1429983982-1508276951=:100885 Content-Type: TEXT/PLAIN; CHARSET=UTF-8 Content-Transfer-Encoding: 8BIT Content-ID: On Wed, 18 Oct 2017, Yang Shi 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? > Yes, this should catch occurrences of "huge unreclaimable slabs", right? --1113868975-1429983982-1508276951=:100885--