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 87A27C4167B for ; Tue, 5 Dec 2023 05:53:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E31456B0074; Tue, 5 Dec 2023 00:53:31 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DE1466B0075; Tue, 5 Dec 2023 00:53:31 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CD1846B0078; Tue, 5 Dec 2023 00:53:31 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id BA29D6B0074 for ; Tue, 5 Dec 2023 00:53:31 -0500 (EST) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 8275680158 for ; Tue, 5 Dec 2023 05:53:31 +0000 (UTC) X-FDA: 81531697422.27.5156575 Received: from mxct.zte.com.cn (mxct.zte.com.cn [183.62.165.209]) by imf25.hostedemail.com (Postfix) with ESMTP id C02A3A001B for ; Tue, 5 Dec 2023 05:53:28 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=zte.com.cn; spf=pass (imf25.hostedemail.com: domain of yang.yang29@zte.com.cn designates 183.62.165.209 as permitted sender) smtp.mailfrom=yang.yang29@zte.com.cn ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1701755609; 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=oF043GMfoAltsrUpHDFKGFfsvUoQTCpJe59pJtwv9OY=; b=3JKjvBM+NReEoUmUD/jIqdS1V2Wl8kdXydJo4cc4Q7SaJfgOjYcAjrjyU2LwGEBFaux6rq StwZ0xuX4ksf/MguDyB4bGmvBncsAoj2hQcA/Luu+Gd+1XsOx9rOVBh7KJBKvRnr7yPeGW EgCWqVNbnxF96A29aeb0j40s/7sQUwc= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=zte.com.cn; spf=pass (imf25.hostedemail.com: domain of yang.yang29@zte.com.cn designates 183.62.165.209 as permitted sender) smtp.mailfrom=yang.yang29@zte.com.cn ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1701755609; a=rsa-sha256; cv=none; b=8WDqkz4CJSG2mz6PnJdnHR9j/WBqH2jm9Tx6Pe/QrrrtoBJ/obwUQLpul0cdq8YpVY6oxK CHOgwuD2ZkjpP/2bZ8Lktwq+6BNLBAGjVh9bVAeVAgv9ZzJ4FS8QRTyIUIuSzxcJe13Ety HzTbottaAFIrDo0bLgFCOVHu1n9qhpY= Received: from mse-fl2.zte.com.cn (unknown [10.5.228.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mxct.zte.com.cn (FangMail) with ESMTPS id 4SkqTG0zc9z4xKRy; Tue, 5 Dec 2023 13:53:22 +0800 (CST) Received: from szxlzmapp01.zte.com.cn ([10.5.231.85]) by mse-fl2.zte.com.cn with SMTP id 3B55rH00034082; Tue, 5 Dec 2023 13:53:17 +0800 (+08) (envelope-from yang.yang29@zte.com.cn) Received: from mapi (szxlzmapp05[null]) by mapi (Zmail) with MAPI id mid14; Tue, 5 Dec 2023 13:53:19 +0800 (CST) Date: Tue, 5 Dec 2023 13:53:19 +0800 (CST) X-Zmail-TransId: 2b07656ebacfffffffffd6f-81e38 X-Mailer: Zmail v1.0 Message-ID: <202312051353196253358@zte.com.cn> Mime-Version: 1.0 From: To: , Cc: , , , , Subject: =?UTF-8?B?W1BBVENIXSBkb2NzOiBBQkk6IHVwZGF0ZSBwZXJtaXNzaW9uIGRlc2NyaXB0aW9ucyBmb3Igc2xhYiBwYWdlIG9yZGVy?= Content-Type: text/plain; charset="UTF-8" X-MAIL:mse-fl2.zte.com.cn 3B55rH00034082 X-Fangmail-Gw-Spam-Type: 0 X-Fangmail-Anti-Spam-Filtered: true X-Fangmail-MID-QID: 656EBAD2.000/4SkqTG0zc9z4xKRy X-Rspam-User: X-Stat-Signature: mcizx85kkx1bmwk5hcg7wsny4m5iujyf X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: C02A3A001B X-HE-Tag: 1701755608-824535 X-HE-Meta: U2FsdGVkX19WU0Ztj2pt/yUt664cajJnUuZik0ePoKfRvH5xLMWybW4G07nlKjCg22lIEDy+Q/v+WV6GDJVwZVKi6t3GxwmkVsdcaF6Z/zq91v/qUbk3nMyguCwYToon1BI2NFdQAFxYar9ghjTEiX4W5rtmwPVn4cxw2XKDqREmKhxosnbiUc/8MCj/QUG0P1hk++7a5EciQz1FBuLh6alKyTe5pMMYI+PJ4VkeDbkI8hKqswS2y/LsGmNgFfdJQNYefDOf+Dskx321AxcyHDpFPyI4lXyWd77fQvR7TYuyYYD4ruehHdvHx8S99WfbGfKndsg5gCCES56Xa8wrWFEupghgSBC5nsF6lCwxUKWge1wy4b70sUGv+JSyfLTnVjhXtxl9t5eng8mlz/r38XXmLeXdpJnswfnCTQpn8yoozjPkBrU/lPlceTZTxtpy7Mu+ngzFQbfHBmH5nxiVGNNE0H4IfACujFFOslbDDm8mpcMeWX0MwihUSYziIzuCLyRAw6iT+NAANyPdXISG7mXhZAwLQsFucmeb7u5XefVf6ou2b7d2B8dGgRurybHHN4U5Db0pAk5CaPkaOuzHqlBwLveHj0iIFrB+vv5mNM4MLeuCeVu1VYeg9etIR4beogeoCy/g3uYRe8UBY+Mzn08UduOT9fvnWg93/vlAhPIuzhz3QIHU1WSPEyhhVljLihBBrD3R9V0AK/5ew2nhinJ58+jj0VbcNohEb8/GtrcNRZsc/DUtzxhMQAF4NqpVOCEzbruS0o9AxNYz3wTE36K+tATKROSd6QD6KDGLd6N1svxmIiPT0/IlQhlzgBFEJ7CA4h8PMkszprRkUq1a61padyaOdXWNQl9Ze3qmcEDTgQiv5KG867l1Ve3ZWhvAOwdOexiP3NiE7F49bBiS1h6jHWmITmnA3GiEMJW1l7nu82g1vZZ8C0tR8HoSZfGjdlGmtR47Z7HfCBpEmGc VpFmoZO2 wdmOFZgh/5M6kTN9rQO7uYQiwZkxlJqUACn14R/TjYbPpTzzyRSAKcmV1LWDeK33NBpgRpSRaeoWTIU128RWzqgRUt8F0bGQ3Y82O01bEjb8GhHeUkJ/MEa1+PVub/Wz+VTydugAEdGgaMlDCIoxzwMwnv7JcNIBq/aB4RHoBQXNF0CtLE8mn3/Sv75yvLczGFoTlsQLzRqF5fH5ICoa5Q/KnNrmUSK/tmaBx2xp7ZXSs6r6FoGOec2CnF8w1bMdDLj9yUQqeoaUvBvR14nY0lD6uewJpW0Ug+1ybFZTW4cBV5MM= 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: List-Subscribe: List-Unsubscribe: From: Fan Yu The page allocation order is now read-only, and cannot be changed by /sys/kernel/slab//order file at run time, see the following commit: 32a6f409b693 ("mm, slub: remove runtime allocation order changes") But the ABI documetation have not been modified along with the code, so they need to be updated, which will help readers better understand the code. Signed-off-by: Fan Yu --- Documentation/ABI/testing/sysfs-kernel-slab | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-kernel-slab b/Documentation/ABI/testing/sysfs-kernel-slab index cd5fb8fa3ddf..8f0fc1cb3dc0 100644 --- a/Documentation/ABI/testing/sysfs-kernel-slab +++ b/Documentation/ABI/testing/sysfs-kernel-slab @@ -342,15 +342,14 @@ Contact: Pekka Enberg , Christoph Lameter Description: The order file specifies the page order at which new slabs are - allocated. It is writable and can be changed to increase the - number of objects per slab. If a slab cannot be allocated - because of fragmentation, SLUB will retry with the minimum order - possible depending on its characteristics. + allocated. It is read-only and cannot be changed at run time. + If a slab cannot be allocated because of fragmentation, SLUB + will retry with the minimum order possible depending on + its characteristics. When debug_guardpage_minorder=N (N > 0) parameter is specified (see Documentation/admin-guide/kernel-parameters.rst), the minimum possible - order is used and this sysfs entry can not be used to change - the order at run time. + order is used. What: /sys/kernel/slab//order_fallback Date: April 2008 -- 2.25.1