Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1285826ybj; Thu, 7 May 2020 20:20:10 -0700 (PDT) X-Google-Smtp-Source: APiQypI/nnS8L7sYJYya9UywoJdv9pdUnOUml2+Ye9bwBjaJM8LGsnJiL8h5MZRFblj2Y0e/CPcX X-Received: by 2002:a05:6402:30b4:: with SMTP id df20mr472807edb.324.1588908010789; Thu, 07 May 2020 20:20:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588908010; cv=none; d=google.com; s=arc-20160816; b=M/QvKHFHygZmPTSKzkpUhisYrHRZnA0REuE9p1p/dkWRZBXpGTE5pLlvo2uvGRBkka RgNzcKducy5F24DggPXR9Sb5zNr4vW2dNTFpnaI2JQmXbECTlHffgdGnSLhhQqfarqW7 HQURvQvBP0lY5OHuXzvnqD7HulJwQUjaB6im3r86I0Q7nNHAoLq0fIKkoX1otQUTI7qD 3d5KvZO7Rjr0cOAIUVmtwUkEe7u1RkgVNFfOt6xHthL/XEVPoeiXgAcXMkUhoBP2F8mF KQrly2Bk7/USjiYQhkM9gK1Aynp7ED/6kd3/dWWYRDh2C5PP3hq9VZyfcnVB5/4Z2KNu gucA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=pdpUTwLKkeUYGzWBkqg60cmZ03swqizkD8IEUymNBA4=; b=OkIRv9PIkhDurTydThitZFU/yiWSmfgi1jDdi+Y/SBMuZ1GU4eKaRirxITXMGgySmn mkgHcMx4FJ1M6bbxFfwBC9p2hcOdcCOVVtn2CRaldkNjuhQzjMxjKyQAv7XqAkMyUb9s 4kpNuQ4HGrWmYcGIkRE0GnMoDO2EOmstRDLViIHdO6hmYCLW/U9dOfdcFoybIQ4zqgyR VXEEMxzOpmdX8D+5MlRCPcrYvvx1Sv9pESOuSjQ9PpQSPaJFeTaUalSXIlH9p1B7LUMK 1KCy/NioN5/kVmx3t/v1dXDc7grAjeFtm+UfQZa9J9QPfg8VTwzRRicotejhwTkvZLB6 gL5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c8si240209edn.192.2020.05.07.20.19.47; Thu, 07 May 2020 20:20:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726891AbgEHDSX (ORCPT + 99 others); Thu, 7 May 2020 23:18:23 -0400 Received: from gentwo.org ([3.19.106.255]:33638 "EHLO gentwo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726542AbgEHDSW (ORCPT ); Thu, 7 May 2020 23:18:22 -0400 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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....