Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp35992pxf; Tue, 9 Mar 2021 23:01:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHEti8T0XnWOEThyum/N418ppA/YpON5QnD487Vnymsc9vNwUONBoVWvQWWjz96H7PZXth X-Received: by 2002:a05:6402:10c9:: with SMTP id p9mr1624651edu.268.1615359685378; Tue, 09 Mar 2021 23:01:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615359685; cv=none; d=google.com; s=arc-20160816; b=RLtZ8s4FHUG4YnwUw2N3zZxrqIL88NddN2L1Z1i+QqizgR0AH+/JkbYx+xt5xJGENo 1Zp+fLaZeYbif+7UPbKTiLCghP36e+yWklhNRTGw6f0eskWeRizqNv2B130JH2O0r0QA Lf7NQKoUFEn4mKEeC+1GNB/6sp37xTlVlkd9TfDkXCeHw6jmbGk8x7uYjfofu4Oi4Hqj 5BvOSSnnBetTkhayo65JA+687ftFZ+vhcIXKuLvsZd8dL6Eug7oTSzDEXQkX6OVOcuel 3c7I0qStGS8sLx5HT3KhFPSypf93xGs3aNBKsNdjeV06mVtqxBp3/fBd+UaSbv2RYpi0 m6ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=9KnE4ZNYmTjkKMtHFfRzGV0eZDwZ/j1jYRbxr2ULdWc=; b=H81HHvaZx8QHIJ9HAFVa0HZzpIwTs5JuHf5fYNBk2fLdyXwJbFzHiPO8AsmvLbx7ir 2otELWA7UhSFzLWJQ7LsyvapYbV59FgWCXXM4gD3VPtUg4NhitqcukVwG/AR0w9u4j8A OuoqKEP8qm/rvy5G0Ou8mtfJi/0CwfmwuXpKa8m/yjrxs6L/ArFu6SLrxkPhVqVBln/Z bCj54iaPGMT0GkXfmrCJ4aTJA+fNWKL3DCNz0wiiu8jlfbqtuO4loV4IIif4HWqmBJ9t H8AAiACqRZj99Jd5ymkKJddpHyfioSbh1779haepbyt+PUtKFVo7ZugB9rH4CsDHmXAU ysGQ== 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 n24si8109593eds.571.2021.03.09.23.01.02; Tue, 09 Mar 2021 23:01:25 -0800 (PST) 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 S229762AbhCJG75 (ORCPT + 99 others); Wed, 10 Mar 2021 01:59:57 -0500 Received: from vmi485042.contaboserver.net ([161.97.139.209]:54908 "EHLO gentwo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbhCJG7x (ORCPT ); Wed, 10 Mar 2021 01:59:53 -0500 Received: by gentwo.de (Postfix, from userid 1001) id D6410B005CF; Wed, 10 Mar 2021 07:59:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by gentwo.de (Postfix) with ESMTP id D3C5EB0058D; Wed, 10 Mar 2021 07:59:51 +0100 (CET) Date: Wed, 10 Mar 2021 07:59:51 +0100 (CET) From: Christoph Lameter To: Linus Torvalds cc: kernel test robot , Jann Horn , David Rientjes , Joonsoo Kim , Pekka Enberg , Andrew Morton , LKML , lkp@lists.01.org, kernel test robot , "Huang, Ying" , Feng Tang , zhengjun.xing@intel.com Subject: Re: [mm, slub] 8ff60eb052: stress-ng.rawpkt.ops_per_sec -47.9% regression In-Reply-To: Message-ID: References: <20210301080404.GF12822@xsang-OptiPlex-9020> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Mar 2021, Linus Torvalds wrote: > So when you wrote: > > However, the current code accidentally stops looking at the partial list > completely in that case. Especially on kernels without CONFIG_NUMA set, > this means that get_partial() fails and new_slab_objects() falls back to > new_slab(), allocating new pages. This could lead to an unnecessary > increase in memory fragmentation. > > it really looks like this might well have been very intentional > indeed. Or at least very beneficial for _some_ loads. > > Comments? Yes the thought was that adding an additional page when contention is there on the page objects will increase possible concurrency while avoiding locks and increase the ability to allocate / free concurrently from a multitude of objects.