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 X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 020A2C4724C for ; Fri, 8 May 2020 03:18:24 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D0345208D6 for ; Fri, 8 May 2020 03:18:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D0345208D6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6A216900003; Thu, 7 May 2020 23:18:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 62D17900002; Thu, 7 May 2020 23:18:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4F3B1900003; Thu, 7 May 2020 23:18:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0045.hostedemail.com [216.40.44.45]) by kanga.kvack.org (Postfix) with ESMTP id 34AD6900002 for ; Thu, 7 May 2020 23:18:23 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id E402D181AC9CC for ; Fri, 8 May 2020 03:18:22 +0000 (UTC) X-FDA: 76792093644.24.gate50_8359e90802121 X-HE-Tag: gate50_8359e90802121 X-Filterd-Recvd-Size: 1758 Received: from gentwo.org (gentwo.org [3.19.106.255]) by imf11.hostedemail.com (Postfix) with ESMTP for ; Fri, 8 May 2020 03:18:22 +0000 (UTC) Received: by gentwo.org (Postfix, from userid 1002) id 0FD923FEDA; Fri, 8 May 2020 03:18:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 0D3633FED9; Fri, 8 May 2020 03:18:22 +0000 (UTC) Date: Fri, 8 May 2020 03:18:22 +0000 (UTC) From: Christopher Lameter X-X-Sender: cl@www.lameter.com To: Andrew Morton cc: Konstantin Khlebnikov , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Pekka Enberg , David Rientjes , Joonsoo Kim Subject: Re: [PATCH] slub: limit count of partial slabs scanned to gather statistics In-Reply-To: <20200504125656.e3d04b350c807aba8a2a7271@linux-foundation.org> Message-ID: References: <158860845968.33385.4165926113074799048.stgit@buzz> <20200504125656.e3d04b350c807aba8a2a7271@linux-foundation.org> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Bogosity: Ham, tests=bogofilter, spamicity=0.005186, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, 4 May 2020, Andrew Morton wrote: > But I guess it's better than nothing at all, unless there are > alternative ideas? I its highly unsusual to have such large partial lists. In a typical case allocations whould reduce the size of the lists. 1000s? That is scary. Are there inodes or dentries by chance? The defrag stuff that I had been trying to do for a long time would solve that issue but then objects would need to be made movable....