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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 638EDC4332F for ; Wed, 9 Nov 2022 20:56:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BACCC8E0001; Wed, 9 Nov 2022 15:56:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B5C956B007B; Wed, 9 Nov 2022 15:56:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A71D28E0001; Wed, 9 Nov 2022 15:56:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 93C036B0078 for ; Wed, 9 Nov 2022 15:56:22 -0500 (EST) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 4DD78140AE8 for ; Wed, 9 Nov 2022 20:56:22 +0000 (UTC) X-FDA: 80115111804.15.8872A50 Received: from aposti.net (aposti.net [89.234.176.197]) by imf21.hostedemail.com (Postfix) with ESMTP id ACCB81C0009 for ; Wed, 9 Nov 2022 20:56:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1668027379; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references; bh=9KieeXyKN/pJkENmyvbFpQPwDh+hPiMv5FQ81nK4d3Y=; b=CpM4wkqhDvYZr8qOEmQicXjS2BxV2b6rWkxKt86AGXK7W/Ygg22REo3jQdbfP0YTTkA64p 9oNsrnMzjZZ5GpB+DmOgNg9KL9n6ULq46wTliQkDXgFiTaILSi3x4UpKwC6hpv9YE8WJY1 o5GQ8UwftyC9Ucfk86+dlpVQFE4GlSo= Date: Wed, 09 Nov 2022 20:56:08 +0000 From: Paul Cercueil Subject: Re: Deprecating and removing SLOB To: vbabka@suse.cz Cc: 42.hyeyoo@gmail.com, akpm@linux-foundation.org, catalin.marinas@arm.com, cl@linux.com, iamjoonsoo.kim@lge.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, penberg@kernel.org, rientjes@google.com, rkovhaev@gmail.com, roman.gushchin@linux.dev, torvalds@linux-foundation.org, willy@infradead.org Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1668027381; a=rsa-sha256; cv=none; b=o/go0c3KlUNfjwsxklcbHxuLWdIrhvgt9Xt3RwJ6yN17YU6LvhvteSY849YFAi2MUVuaNn v0PPc4DUMEJKawcUawR/WW0dCvR2mf64GeRLAXPZmkm63uY2TrSaa/XrYJwypCZTEmEzOl YFIohIJ8EppfiXa5Nc8nQHe1+V/QSuQ= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=crapouillou.net header.s=mail header.b=CpM4wkqh; dmarc=pass (policy=none) header.from=crapouillou.net; spf=pass (imf21.hostedemail.com: domain of paul@crapouillou.net designates 89.234.176.197 as permitted sender) smtp.mailfrom=paul@crapouillou.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1668027381; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=9KieeXyKN/pJkENmyvbFpQPwDh+hPiMv5FQ81nK4d3Y=; b=Wk9RG+rElQpZfv7DfQ49ACoceWcE+0rSFy0z/a5fNWHxGyaX3nLTZ+u9jhzrAsi6wlAczl oBHTzcGeDdDdYLqDkcBc1MSTmnc+Pl/PYrWPp9oKrvS09H/QkEd20MOf+c7t5a8v9hscVq NLCex/0FN4n9/z60avsPfFsNEpXhme4= X-Rspam-User: X-Stat-Signature: q83wfdjdut91bpgn8kufkfwhqpzp4ysd X-Rspamd-Queue-Id: ACCB81C0009 Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=crapouillou.net header.s=mail header.b=CpM4wkqh; dmarc=pass (policy=none) header.from=crapouillou.net; spf=pass (imf21.hostedemail.com: domain of paul@crapouillou.net designates 89.234.176.197 as permitted sender) smtp.mailfrom=paul@crapouillou.net X-Rspamd-Server: rspam03 X-HE-Tag: 1668027381-367145 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000094, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Vlastimil, I was actually using SLOB until recently for a device flasher program (kernel + initramfs + dtb, booted over USB) for Ingenic SoCs. I picked SLOB just because it said "embedded systems" in menuconfig and some of my boards have as little as 32 MiB RAM. It worked fine on some boards, but on others it had about a 25% chance of booting, and 75% chance of hanging at boot. I tried printk-debugging it, and was coming to the conclusion that it's memory corruption of some sort. Then I switched to SLUB and all the problems are gone. Same with SLAB. So while I can't say for sure that SLOB is broken (it might be triggering a bug somewhere else), I am highly suspicious that it is. So yeah... axe it. Cheers, -Paul