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 81A6FC433FE for ; Sat, 12 Nov 2022 01:40:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C4EC98E001B; Fri, 11 Nov 2022 20:40:44 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id BFF1F8E0008; Fri, 11 Nov 2022 20:40:44 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AEE228E001B; Fri, 11 Nov 2022 20:40:44 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id A138C8E0008 for ; Fri, 11 Nov 2022 20:40:44 -0500 (EST) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 7391E40C17 for ; Sat, 12 Nov 2022 01:40:44 +0000 (UTC) X-FDA: 80123086008.25.9FF88DF Received: from esa6.hgst.iphmx.com (esa6.hgst.iphmx.com [216.71.154.45]) by imf08.hostedemail.com (Postfix) with ESMTP id 85987160006 for ; Sat, 12 Nov 2022 01:40:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1668217243; x=1699753243; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=A5lA+wUZxWcJcSuslJANirjjEAuPkoqkzELGkHMOFDE=; b=NGtJMq8ZiBvUPLc+VR27uUlbvVCv+RWu+4KHsg2LNvI6HxpbSS0AgB1D o9CIDgZSOETtOfZaCRUNKXO7uQMs77qzh1xIHEHPlBTUku8n4jMekVMnn qiI/u614oPEE5KAVZWgHQTz4x9frrc422fVToE1ArCg5e1qA11UEck4vp 8eSKML/xe5dI1Rg9cMCBOB84/mqAEYawz2+qonLv0O/EGI/5i/hLgPapr WmOY95fZtGb8FsCImhNkWc8ZyugxNMJWKYtU4egW9Sg/Z4a9ekCqd0lZd g5ZWSG009RsUEHpivsR1ApQixmh1pRVNwROLO57ZU1WNsGcpaRTyZrWOg g==; X-IronPort-AV: E=Sophos;i="5.96,158,1665417600"; d="scan'208";a="216423424" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 12 Nov 2022 09:40:42 +0800 IronPort-SDR: LAPzZGtJopOyA2S7z66yzRDMs4opyN6uxCjQIRvqbPGtk0K8HTiWr19BpDiVdzrOIXB9hCjFew vWuWQjl9hkp8HKCcWhBkdpRHxXr7voYGgIb8Gjoyp/Emf2un1iAnIOIQSmZ6fQRSkjTKUnUgGj qTnrVYOU5t9tX3WAS0DX21D/Ikr5RkKuVRqhRppCivfuuLeEsrKwdHM2pEl+cOBILtY9Et2dXM R+tT0wxcoN2hcmkbouSxI37OJQTDh+NVxHFSwutvayuot4fIKoAdnED7VMJyhEd4tKvdXT0wIR N0I= Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Nov 2022 16:59:43 -0800 IronPort-SDR: za3EulA9r4myFZlIdrYY0NtAc/EJvqtG/Vv+SSGBM+3nl7Zx7fS+QQ/haH/PQo0gaeCYRalUUl a+NJhw625E344ivrRiwaEluy1V3yOuvQORW53TW+3zVB8yinbqHgQOnXxnOH51mhryPww2Rbo9 vMgWjqh+idQGsvuNZhkMNssIkGl935aNFtAgMwrcErjjxueWwPdFDyRSKuke+qAtMKCnAW8JpV wfWX/C4ENaYSc/sQ0nPyVZHff3qnH69BYwYbtiWAtToJAseZTmm7NdesfAoa8HLmi0HOlLYiLN UDs= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Nov 2022 17:40:42 -0800 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4N8JDn5mm0z1Rx15 for ; Fri, 11 Nov 2022 17:40:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1668217240; x=1670809241; bh=A5lA+wUZxWcJcSuslJANirjjEAuPkoqkzEL GkHMOFDE=; b=U7BOl34na7pMHLoUJA+5m3OJDF660WQzHJa6ZtV/Gb5uPAQGqiL N0mp4sLETDHvxu2gr3fw3mAjSn+mN1Kqd2sBJQrALnKnkPLrkkFuflYP0oWzF3pk YcgW8PnCV4nsTQcp90Z+d3R/j3rK+datfY18851TMfltlOpqekWKpDWk0gTy/v8S c0toPCp8CcBFYwCe6Glr0zp4u8mFu1+c2v/C6Vgaydbhi374f79refOJMoU6wTmU CgTiNX3irYVD+aZ8HqHLDLA624hRtvZz0jrPDMVyXPtY+Gdu84GXePV4XNreE+Tb rL5M47wsGd04uJTYIXECRPVPjWczvcOfM8g== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id lX54WADO8WyZ for ; Fri, 11 Nov 2022 17:40:40 -0800 (PST) Received: from [10.225.163.43] (unknown [10.225.163.43]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4N8JDk16DHz1RvLy; Fri, 11 Nov 2022 17:40:37 -0800 (PST) Message-ID: Date: Sat, 12 Nov 2022 10:40:36 +0900 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: Vlastimil Babka , 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: <5a902810-2e72-9021-e189-a1cd2aa6f77f@suse.cz> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <5a902810-2e72-9021-e189-a1cd2aa6f77f@suse.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1668217244; a=rsa-sha256; cv=none; b=QnKIuX+fANNitcVAjUCKr+NdFU2gk/2Bam0Jqhx1GIYuxQPCCxepueAUp5/HecfvVr/cWd HcCJGbbF6EFc69UvM+mlA9SAsTuc9RnSNEH1tCZ3DihhWyxarx3H9RepP6uIKhKPnmUSCn WKo2ol0sZ/UskKpqPoNJ8kOUBEo4TjY= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=none ("invalid DKIM record") header.d=wdc.com header.s=dkim.wdc.com header.b=NGtJMq8Z; dkim=pass header.d=opensource.wdc.com header.s=dkim header.b=U7BOl34n; dmarc=pass (policy=quarantine) header.from=opensource.wdc.com; spf=pass (imf08.hostedemail.com: domain of "prvs=308c9b51b=damien.lemoal@opensource.wdc.com" designates 216.71.154.45 as permitted sender) smtp.mailfrom="prvs=308c9b51b=damien.lemoal@opensource.wdc.com" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1668217244; 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=HjZRshtgzxtcmu/vjV3OiEGjro9Yf1jgwBzigg5qKq4=; b=Zhyer6ByDbnq+nQcsZhHs1Eyr+UjTLrbL6ivTgmstc8HZECznpRsKbUR/lj4H8ltsRz7dX TOQaCUkJo9I15gjknbiAG6WBCZF5UL+XgLKdFPIVzKRS/IvNoTEwPWs+LgQWaGP5y0r9L8 4NnxOiFsfn4toGTXhariLfNU2mzPquc= X-Rspamd-Queue-Id: 85987160006 X-Rspam-User: Authentication-Results: imf08.hostedemail.com; dkim=none ("invalid DKIM record") header.d=wdc.com header.s=dkim.wdc.com header.b=NGtJMq8Z; dkim=pass header.d=opensource.wdc.com header.s=dkim header.b=U7BOl34n; dmarc=pass (policy=quarantine) header.from=opensource.wdc.com; spf=pass (imf08.hostedemail.com: domain of "prvs=308c9b51b=damien.lemoal@opensource.wdc.com" designates 216.71.154.45 as permitted sender) smtp.mailfrom="prvs=308c9b51b=damien.lemoal@opensource.wdc.com" X-Rspamd-Server: rspam06 X-Stat-Signature: y8jjtpw1whuas7df8gauaoru7fa3aide X-HE-Tag: 1668217243-784165 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/11/22 19:25, Vlastimil Babka wrote: > 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. Thanks for the hint. Will try that. -- Damien Le Moal Western Digital Research