Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1157989rwb; Wed, 9 Nov 2022 13:46:38 -0800 (PST) X-Google-Smtp-Source: AMsMyM4Z/eHh5cYKF3wyHFErBzC416quB3ngKymHwLc0H9xR93tsXy9vzRk2xv9RJr7MP76H35GN X-Received: by 2002:a17:906:3b48:b0:7ad:fa67:1daa with SMTP id h8-20020a1709063b4800b007adfa671daamr39350285ejf.653.1668030398055; Wed, 09 Nov 2022 13:46:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668030398; cv=none; d=google.com; s=arc-20160816; b=zAPrzWc9G1DHylyLe6GcpqFl6bzpqaTHwciqT64PQ2x0zMECI4JENb3L95RfT2/GLb iRyiSBDlsCj+dWrujB2Npn9ZtiRh39KLNAgJnVO3KfgEqoi+k4WAvPqoXsuX5sBAPfUI I2gCyaOz9IANAc0ciwiNUu1BhD5BPPRVpLJxbfrjExYfbzq6FfD40F7SNsFtOKYa8jqv cgZLfl78oRXTOcak8s8jzjasOE9XLthN7ULIVgoXndDgXMSbMwvfnV2YVqcqZ4MawkZy h3HLz4WwrAGsyFzZUDHyYWP8v7mRz8WGhiU4yQCWVNQnGj3M4Nk3EZcNOjNecV6ykjZZ E92g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:cc:to:subject:from:date :dkim-signature; bh=9KieeXyKN/pJkENmyvbFpQPwDh+hPiMv5FQ81nK4d3Y=; b=neGHXRDWrwbGRvIixFt2V/sR3TpCF3VgeGZ88CAPpCcCfa6R2PDY7toJZY3m/YUYki VM4lieWDisKUG8Fvtbw5JcV5aEQxgfyMI5StxUJrxvHAgEQOkRESwYxwTcNc/rWTf2m5 eE2I4F8pVVcBj075u2NkqGlI0DPoPBGBgoflQEaTUoF0ANu6qCkkEN+fkh+Uo2mnD0pb GTKzI3c134K/OFt59tgMDjNVZRNDefnK1PKkNhJ7MobjNxy/aybGYsfPtZoANeDN3px9 ZpocEnzeY+yHBfhqyQsK3lO2xVmRMkOEUkYzhemWsRbOq+il865luyAqdvnLQ+wj3TuV v8oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=CpM4wkqh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wj7-20020a170907050700b007330c08fe49si5144237ejb.206.2022.11.09.13.46.15; Wed, 09 Nov 2022 13:46:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=CpM4wkqh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232075AbiKIVAA (ORCPT + 92 others); Wed, 9 Nov 2022 16:00:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232030AbiKIU7o (ORCPT ); Wed, 9 Nov 2022 15:59:44 -0500 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A9B34AF15 for ; Wed, 9 Nov 2022 12:56:58 -0800 (PST) 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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