Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp76009pxb; Mon, 25 Oct 2021 04:14:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykcq0h5o/i1dddsOrxrJcjHMxgTEwkfRKzv3ItBLrLZSV64ShAe0YyIu07Glln2I2WCnzw X-Received: by 2002:a17:906:34d3:: with SMTP id h19mr22222942ejb.144.1635160484398; Mon, 25 Oct 2021 04:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635160484; cv=none; d=google.com; s=arc-20160816; b=sznJBFA/TfEeA1DJHzBeVsgHtSx+3LQbHq0oR0a9qOgHYX+04kLn3VflRm8rHBmKRe dxNY20ceKXgDXLJxqizD8nkP0cAuGt2u/1/n9XRs3z6UEEZ2WbZWupsdEiik73yIGHGF 7eJCWSSvYCyEp0H1sPNdgdxn8nFvxYM/Fnyki5QxkSLQ+MDJ2Fqh5xFPH8BjqGz6LqVn cpnTpcogaFhKvmmH2SXBjtIUZ8v/t6JalftHXJ4RExEQwmiscW1V6rWa9kdK/xha6EaV eycIsnKvdbrdkWHp8lZv2kx4QdgZwJq/AfSTG2d9NDvppRei349HWOzz26SekYuZOctm geeA== 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=GGI8XUiFAyQzXGO0tUaKmhjlVR2zxtNkgGzx9rbdNHA=; b=laedUznU6IeeeieAngbszavqwWu9XkYQJBbisDP8ScasaY8WlEg2wms1zAk/dnpBbM 3MnWUMzzNJE197fNQdPWFe1Hzqr9xc1OQMxjfqTfY2hpXRzTjIZm3b7WXUDk8i1qdeIB fkNqXIIaXo33sOIziS96qD6NuysYapnz4ebnvuK3FKaognmiULPue+FufnUykO3iaPne 5flzQ3vxPA2CqJsZFn75fTiPoxGjuZPSjNcb3yxHnAP/dzNeOxD4LkRkUk3IlIhDHm/+ vmVj3XOFuAvTDvJ0WpmM4BdTfKd3SXkzDLAVxLgGzPbTw2rUT5/Pd5CN2Rf3WLofp2Na UsBw== 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 y7si17930173edr.67.2021.10.25.04.14.20; Mon, 25 Oct 2021 04:14:44 -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 S232050AbhJYIBS (ORCPT + 99 others); Mon, 25 Oct 2021 04:01:18 -0400 Received: from vmi485042.contaboserver.net ([161.97.139.209]:34498 "EHLO gentwo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231246AbhJYIBR (ORCPT ); Mon, 25 Oct 2021 04:01:17 -0400 Received: by gentwo.de (Postfix, from userid 1001) id D5D1CB006C7; Mon, 25 Oct 2021 09:58:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by gentwo.de (Postfix) with ESMTP id C88E4B00100; Mon, 25 Oct 2021 09:58:54 +0200 (CEST) Date: Mon, 25 Oct 2021 09:58:54 +0200 (CEST) From: Christoph Lameter To: Hyeonggon Yoo <42.hyeyoo@gmail.com> cc: Vlastimil Babka , linux-kernel@vger.kernel.org, Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , linux-mm@kvack.org, Matthew Wilcox , Dave Taht Subject: Re: [RFC PATCH] mm, slob: Rewrite SLOB using segregated free list In-Reply-To: <20211021114112.GA4004@kvm.asia-northeast3-a.c.our-ratio-313919.internal> Message-ID: References: <20211020135535.517236-1-42.hyeyoo@gmail.com> <20211021114112.GA4004@kvm.asia-northeast3-a.c.our-ratio-313919.internal> 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 Thu, 21 Oct 2021, Hyeonggon Yoo wrote: > But on the contrary, I wonder when SLOB is useful than SLUB. > is it for really tiny linux systems that has under 1M of RAM? > But can linux be that small? SLOB I think is mainly a nice intro into how slab allocators work. It is a simple architecture and the code is to read and therefore easily understood. I heard of some use cases from others but I have only ever been able to run a kernel boot in KVM with SLOB.