Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp19747rdh; Wed, 22 Nov 2023 16:33:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGb8yIaU0uzAmetqOhIU8V/MpVJKyIbfj4XHqBYiKGb2b1WROOB4H76elAap3hKVW1K1MSD X-Received: by 2002:a05:6a00:cce:b0:6c2:cb9a:885e with SMTP id b14-20020a056a000cce00b006c2cb9a885emr4337589pfv.15.1700699619787; Wed, 22 Nov 2023 16:33:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700699619; cv=none; d=google.com; s=arc-20160816; b=tkSja5eXUtI7NdUd2fNIxn1nFdQUlBOKt/zJpkLi2DOGJTRkJlnDkRyJD1SN3idVUM jw79Yb1fQ8DmjS8KcdzuG7MPEiWQqY1z6jL+PyOaguKyQ5TDovIYFlUbK9nD031NfH2x hZ6LsdxHHECLFAKqLKVgMaZ8uWv8NKZG2b9cLaEJYO1t6WmMbjcybTGW8jqtm6IG7RuJ 0I+NG5/Wf0Abe6PRJZbMrFkHw29iOpnddRfjJWzjlxU/IE0WgL1RIYE3act+WhltmRYd c2WmzE0gdwJouSvUshRPMnYvyx27jSF811HGhtJpinimsROYKiaUc4zKfBFbLmA/v8ui pg5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=gQkTqySKm3AYLOoiK0RjjGYCG28Vh+/Qg1tc7GPocew=; fh=4WfiT93+lYyhTV1Gpp43fI1js5NCkBKi0sXmu8BoBto=; b=c7s1mfQV4oKs7ae4unMWuiOKXmiouzsU0PAMs0NRwFfePCJxlZ3cbLDviC04CKwhNU 3hnkb5Xh4DasYw1oYOlsqmrMOLkWEC8Fxwpdpi9qzQbuN2IRL6zTQkz0WrdQi8MsF4HN cbXhx+ZvzxWlZV9RRwlf+97s61KtDkTuRtoJVAPFYUEMrNgYgyS/7jbNHPKhCcYeL+Yh 89pRLFJnDNNxYPFgUN1hWiyBNwi3oEq7uVEjDpJXqFph+c0j0KNK7xN1cMjLEFk1oWS7 dW+/4lY4rWUTpqTpaSUyCJ62/SGb2YAiVqSoOYRh2rhsqvauuA4+dJQtcMgQM8vE/e/D 1zRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XfJtLU3M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id b10-20020a056a00114a00b00690bd178205si157434pfm.215.2023.11.22.16.33.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 16:33:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XfJtLU3M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 40E7782195D3; Wed, 22 Nov 2023 16:33:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231478AbjKWAd3 (ORCPT + 99 others); Wed, 22 Nov 2023 19:33:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjKWAd2 (ORCPT ); Wed, 22 Nov 2023 19:33:28 -0500 Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31DBB100; Wed, 22 Nov 2023 16:33:25 -0800 (PST) Received: by mail-vs1-xe30.google.com with SMTP id ada2fe7eead31-45dadc5bf51so108814137.2; Wed, 22 Nov 2023 16:33:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700699604; x=1701304404; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gQkTqySKm3AYLOoiK0RjjGYCG28Vh+/Qg1tc7GPocew=; b=XfJtLU3McNnfwZOJKKxnXOqcRGKW/XtGP6niux2nAD+HT7Q/wVIfOteyB/UXIhEPsy p0nnv6vmkx7vyb2rPmLON8VfOFZRF90FTAVeaGS1rCOl+E4QFSvARNgkeqAFF0LbrZTf dOPtjlUK4K/N1sVLNBH4dD9aDLyL7gG44Gu0x5JgK3f1l1umh9njQlGfOpXS+6F9xvPQ Z91oLPPLyDxh45KC/CnMco6T2ghbvDhT7xYuohmtBYV96v+gF+XHeWDHZn/ZmXrbIldU ayN4qv2b26vS4CY4OEO3QDtDJ5CI0jwjSPWHDaTtkwXqTBVApBXv25E4q+8Adtck5PNu t8rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700699604; x=1701304404; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gQkTqySKm3AYLOoiK0RjjGYCG28Vh+/Qg1tc7GPocew=; b=fJdCBvWPxdJepfboeHoJoy/CqtF1tfYhK7oxgmXtWWK8+gy5Ggg8lb4A5wKxPhCX5N 1is2p3nUMCu3fb5UnsNXeThGzhAUhDADm/NEHZYWZorZ4zxtI58tfIdu6Fh9TM82o82z 2HN974I8QzOtYyxSLL4khjtVFV5Tw0JDiwYXHYN7Yp9v+iViFm87PHT1w0XL325zeNf1 qNsniNeINdKVszk//oCEO2r5KKUSioptYG43KwrjgFBZsPOPodmgJQS3VKZKtgpK9hvX nfZ1UJn3mhqqvovLFPOtA7UEKwVkJkraijwmmQs5JbONigzuPHfQqOtSYWvpoYBGme0B rokw== X-Gm-Message-State: AOJu0YwF4dx3dwZmFM9XUSDww/v2mSM6QpZvkUjix2REhppVGMmVg+9V XES5eKRMe5bioeWNUEyy21yDmG624ih82y5NqzA= X-Received: by 2002:a67:fc48:0:b0:45d:b5a2:1516 with SMTP id p8-20020a67fc48000000b0045db5a21516mr4450188vsq.34.1700699604130; Wed, 22 Nov 2023 16:33:24 -0800 (PST) MIME-Version: 1.0 References: <20231122143603.85297-1-sxwjean@me.com> In-Reply-To: <20231122143603.85297-1-sxwjean@me.com> From: Hyeonggon Yoo <42.hyeyoo@gmail.com> Date: Thu, 23 Nov 2023 09:33:12 +0900 Message-ID: Subject: Re: [PATCH v2] Documentation: kernel-parameters: remove slab_max_order and noaliencache To: sxwjean@me.com Cc: vbabka@suse.cz, linux-mm@kvack.org, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, roman.gushchin@linux.dev, corbet@lwn.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Xiongwei Song Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 22 Nov 2023 16:33:37 -0800 (PST) On Wed, Nov 22, 2023 at 11:36=E2=80=AFPM wrote: > > From: Xiongwei Song > > Since slab allocator has already been removed. There is no users about > slab_max_order and noaliencache, so let's remove them. > > Signed-off-by: Xiongwei Song > --- > v2: Hyeonggon Yoo <42.hyeyoo@gmail.com> suggested that noaliencache shoul= d be > removed too. Here adding this change. The patch is based on [1]. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/log/= ?h=3Dslab-remove-slab-v2r1 > > v1: https://lore.kernel.org/linux-mm/20231120091214.150502-1-sxwjean@me.c= om/T/#m55ebb45851bc86d650baf65dfe8296d33c5b1126 > --- > Documentation/admin-guide/kernel-parameters.txt | 10 ---------- > 1 file changed, 10 deletions(-) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentat= ion/admin-guide/kernel-parameters.txt > index 65731b060e3f..d56a5beefe24 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -3740,10 +3740,6 @@ > no5lvl [X86-64,RISCV] Disable 5-level paging mode. Force= s > kernel to use 4-level paging instead. > > - noaliencache [MM, NUMA, SLAB] Disables the allocation of alien > - caches in the slab allocator. Saves per-node mem= ory, > - but will impact performance. > - > noalign [KNL,ARM] > > noaltinstr [S390] Disables alternative instructions patching > @@ -5887,12 +5883,6 @@ > own. > For more information see Documentation/mm/slub.rs= t. > > - slab_max_order=3D [MM, SLAB] > - Determines the maximum allowed order for slabs. > - A high setting may cause OOMs due to memory > - fragmentation. Defaults to 1 for systems with > - more than 32MB of RAM, 0 otherwise. > - > slub_debug[=3Doptions[,slabs][;[options[,slabs]]...] [MM, SL= UB] > Enabling slub_debug allows one to determine the > culprit if slab objects become corrupted. Enablin= g Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Thanks! -- Hyeonggon