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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBA12C4332F for ; Mon, 25 Oct 2021 07:58:57 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5BE9260F92 for ; Mon, 25 Oct 2021 07:58:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5BE9260F92 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gentwo.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id E78596B006C; Mon, 25 Oct 2021 03:58:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E275B940007; Mon, 25 Oct 2021 03:58:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D16206B0073; Mon, 25 Oct 2021 03:58:56 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0005.hostedemail.com [216.40.44.5]) by kanga.kvack.org (Postfix) with ESMTP id C12F06B006C for ; Mon, 25 Oct 2021 03:58:56 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 7E6501801ED71 for ; Mon, 25 Oct 2021 07:58:56 +0000 (UTC) X-FDA: 78734208672.23.14086B1 Received: from gentwo.de (vmi485042.contaboserver.net [161.97.139.209]) by imf09.hostedemail.com (Postfix) with ESMTP id 240C13000108 for ; Mon, 25 Oct 2021 07:58:56 +0000 (UTC) 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 X-Stat-Signature: gyyyp8gajyuu81f1ou4tqcbf3hh8tegd X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 240C13000108 Authentication-Results: imf09.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf09.hostedemail.com: domain of cl@gentwo.de designates 161.97.139.209 as permitted sender) smtp.mailfrom=cl@gentwo.de X-HE-Tag: 1635148736-40773 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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.