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 9990BC433FE for ; Fri, 11 Nov 2022 10:25:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 253F46B0071; Fri, 11 Nov 2022 05:25:51 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1DC496B0072; Fri, 11 Nov 2022 05:25:51 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 07DED8E0001; Fri, 11 Nov 2022 05:25:51 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id E64E86B0071 for ; Fri, 11 Nov 2022 05:25:50 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id B50EFA0258 for ; Fri, 11 Nov 2022 10:25:50 +0000 (UTC) X-FDA: 80120780460.02.6A01C52 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by imf27.hostedemail.com (Postfix) with ESMTP id 2BAD24000B for ; Fri, 11 Nov 2022 10:25:48 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 79B291FB4A; Fri, 11 Nov 2022 10:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1668162347; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OKlbaNjH9a/ib4nLB2iq4s9RI+vzvvZHsbyVJHY64Og=; b=yNVg9j85Xiu55gGuCY08PXpWvE1cwnsaxvx88MqXrd+UAH3CSoTHudHee9dZdafbOALjYM zF6tjmdQrQuEioF0/dfRrrcdp4lGQhry3mzct4ZE8KwSxMdE+FP8nKcc0vvha8JhHTKOnZ 2pfbUg+0/yft70tdVCTfIhI8d8iCBJ0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1668162347; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OKlbaNjH9a/ib4nLB2iq4s9RI+vzvvZHsbyVJHY64Og=; b=VgtDqXBAJsGsn1nOjsN3HfwJjVD3DnjswsaGwAoOls+kPLL1DsFaobg4RxvM8HKK8tcHDy t/dKTJuLnlbvYEDg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3C08913357; Fri, 11 Nov 2022 10:25:47 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id npH1DSsjbmPSAgAAMHmgww (envelope-from ); Fri, 11 Nov 2022 10:25:47 +0000 Message-ID: <5a902810-2e72-9021-e189-a1cd2aa6f77f@suse.cz> Date: Fri, 11 Nov 2022 11:25:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: Deprecating and removing SLOB Content-Language: en-US To: Damien Le Moal , Conor.Dooley@microchip.com Cc: cl@linux.com, rientjes@google.com, iamjoonsoo.kim@lge.com, penberg@kernel.org, 42.hyeyoo@gmail.com, willy@infradead.org, roman.gushchin@linux.dev, pasha.tatashin@soleen.com, torvalds@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, rkovhaev@gmail.com, akpm@linux-foundation.org References: From: Vlastimil Babka In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1668162349; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=OKlbaNjH9a/ib4nLB2iq4s9RI+vzvvZHsbyVJHY64Og=; b=L+I9AKVtLUgj/Mb3U9LbHyQQO/JPXyNhd+ZIa2j7l57R2MmQXKwPISNd3kXs5Yma7kNnXx tS3kJo9L+zd0HQCJXOO9WsqvVM4cvIr0RSi6NSnDqpCjG2SQKuyfmVSGNQFYbIDDgc6Jlx ShWolVZQ+HTYLipe4VZOZcG0jJpJa9M= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=yNVg9j85; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=VgtDqXBA; spf=pass (imf27.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.29 as permitted sender) smtp.mailfrom=vbabka@suse.cz; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1668162349; a=rsa-sha256; cv=none; b=rFuE5cX5h1hOsvhYO4LK5tdBYLm/CQpcI3aF0QFdalHCMP38DBG9DYweKtQqtVmmmyVoWg acmP6MpBbdLyVHQe6uJawXPJmX5sOgYDxBtG12fYZtgQBuk+UUczu+aGWO79uHxrf9YZ4A uemkOCnVHYzCZjVwK+3Mi7ESpL0ZrhQ= X-Stat-Signature: dktfo873hpxgdxz6hi7i5hn8wjebe9pt X-Rspamd-Queue-Id: 2BAD24000B Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=yNVg9j85; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=VgtDqXBA; spf=pass (imf27.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.29 as permitted sender) smtp.mailfrom=vbabka@suse.cz; dmarc=none X-Rspamd-Server: rspam07 X-Rspam-User: X-HE-Tag: 1668162348-282638 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 11/10/22 00:00, Damien Le Moal wrote: > On 11/10/22 02:57, Conor.Dooley@microchip.com wrote: >> +CC Damien >> >>> There are some devices with configs where SLOB is enabled by default. >>> Perhaps, the owners/maintainers of those devices/configs should be >>> included into this thread: >>> >>> tatashin@soleen:~/x/linux$ git grep SLOB=y >> >>> arch/riscv/configs/nommu_k210_defconfig:CONFIG_SLOB=y >>> arch/riscv/configs/nommu_k210_sdcard_defconfig:CONFIG_SLOB=y >>> arch/riscv/configs/nommu_virt_defconfig:CONFIG_SLOB=y >> >> Saw you were not added to the CC Damien & I know you don't want your >> baby broken! > > :) > > I set SLOB=y for the K210 as the config help mentions it is a bit more > efficient in low memory cases. I did run a few times with SLAB and it > was OK, so removing slob should not be a problem. Can check again. Thanks, but please check with SLUB, not SLAB, if possible. Disable SLUB_CPU_PARTIAL (default y on SMP) if you want to minimize the memory usage.