Message ID | 20231209135203.303508-1-sxwjean@me.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 644F8C4167B for <linux-mm@archiver.kernel.org>; Sat, 9 Dec 2023 13:52:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B19506B0072; Sat, 9 Dec 2023 08:52:25 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id AA17A6B0074; Sat, 9 Dec 2023 08:52:25 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 942436B0075; Sat, 9 Dec 2023 08:52:25 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 7F4146B0072 for <linux-mm@kvack.org>; Sat, 9 Dec 2023 08:52:25 -0500 (EST) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 4E1FE1203B3 for <linux-mm@kvack.org>; Sat, 9 Dec 2023 13:52:25 +0000 (UTC) X-FDA: 81547419450.06.07BD657 Received: from pv50p00im-hyfv10021501.me.com (pv50p00im-hyfv10021501.me.com [17.58.6.48]) by imf04.hostedemail.com (Postfix) with ESMTP id 80F4F40014 for <linux-mm@kvack.org>; Sat, 9 Dec 2023 13:52:23 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=me.com header.s=1a1hai header.b=saTuwZso; spf=pass (imf04.hostedemail.com: domain of sxwjean@me.com designates 17.58.6.48 as permitted sender) smtp.mailfrom=sxwjean@me.com; dmarc=pass (policy=quarantine) header.from=me.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1702129943; 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-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=MTMGsU3m6N+v4JfvzZq2GCUDbnzesSfAOCxIP0t5ZwQ=; b=rSpt+t9hcg3ePnDYedZErcGHdcPlHGTu8so2uoAbEzJiDZK3gaxWwPOhZduARJuvbHJCMH 5+2GThgSFKNZzJaw65b1tM/KPJ2wIVUzJV0671QtMizH1l179gdwOJUnIaxdGy7gUMuaZj S/KFN3cdK/MumVM7wP2On2Dv5u2190o= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1702129943; a=rsa-sha256; cv=none; b=kKSq5FFP68s4NM5QjL6dPJn3yFR4lUWbx2gaH+NQgAzoHZ4rApz/I74Bb31fvH+kSpXnbL xKpWuOF3Xizx2e8YQEfgdb+xFIV8LT1KMMqaayW/c15yrFQ5MLFvHCDE4xOQIgcB/cWDAl GuTDl6uFEhk5fiM6tauxz8cwK2bI1bM= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=pass header.d=me.com header.s=1a1hai header.b=saTuwZso; spf=pass (imf04.hostedemail.com: domain of sxwjean@me.com designates 17.58.6.48 as permitted sender) smtp.mailfrom=sxwjean@me.com; dmarc=pass (policy=quarantine) header.from=me.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1702129942; bh=MTMGsU3m6N+v4JfvzZq2GCUDbnzesSfAOCxIP0t5ZwQ=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=saTuwZsoXeWCenn+5evXdQcbiLj5vQfauhGkJQVaVr/zFkLyrcDRpgy04w38UrAak MmJriWes2T2vVuz0alhzyxSLKLsYu63qckG79MOdCM5slhPhKDyk1q/e8JPZH0+JSA fy2dEoqY6lpDPCkCPCePTANxBZ9hvl5TzRbJINMsy6uTEmeDXX+4P2Y1oYYuVe4/nX XQMxPnB1smYN7CiAbJrYMzqmsOqKicdeW1njoCuGa2rpE45T8//jBwqI0j6VXD59X2 KeS569dirPXHNXSsz/GSVo/OYLn+sUqEcrV2cs6OGtyIKkS+1tMTKMbvzyVQrLtYh9 AaZAM+PPhnnmQ== Received: from xiongwei.. (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-hyfv10021501.me.com (Postfix) with ESMTPSA id 0E2BB2C00C4; Sat, 9 Dec 2023 13:52:15 +0000 (UTC) From: sxwjean@me.com To: vbabka@suse.cz, 42.hyeyoo@gmail.com, cl@linux.com, linux-mm@kvack.org Cc: penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, roman.gushchin@linux.dev, corbet@lwn.net, keescook@chromium.org, arnd@arndb.de, akpm@linux-foundation.org, gregkh@linuxfoundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Xiongwei Song <xiongwei.song@windriver.com> Subject: [PATCH v3 0/4] supplement of slab allocator removal Date: Sat, 9 Dec 2023 21:51:59 +0800 Message-Id: <20231209135203.303508-1-sxwjean@me.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: A_f9LtAEiUhmM3s6MswNN90gdWwoafGm X-Proofpoint-GUID: A_f9LtAEiUhmM3s6MswNN90gdWwoafGm X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E517=2C18=2E0?= =?utf-8?q?=2E572=2C17=2E11=2E64=2E514=2E0000000_definitions=3D2022-06-21=5F?= =?utf-8?q?01=3A2022-06-21=5F01=2C2020-02-14=5F11=2C2022-02-23=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 suspectscore=0 clxscore=1015 spamscore=0 malwarescore=0 mlxlogscore=999 mlxscore=0 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2312090120 X-Stat-Signature: ggukgw9atxt6ep1c43fakojj84n5igcq X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 80F4F40014 X-Rspam-User: X-HE-Tag: 1702129943-291550 X-HE-Meta: U2FsdGVkX1+aQj26TVJcJmEd3IXa/BVhlhln6KCClYbbMATmGM7mOsqm+0D1L7K77TQ0XWvxm7jdBFIv6KrjkoSYUt40yXdvaSb6mvE21YGbTGV+R+iEd6VltT5EIYRQrbKoRJJ8BB+60Qid3Mvdbg4ap76Bc6K1F9/+TZcm2K2fScCalbtor7muQiuyft5gQ/3unBH6Rok+N0DFe+syCVONn+DYhTH6sebvTTizZwrHKnG4LVs6DcNss0QOOEK6PQLPwHhwgIIAxPp7Ths3XT7N92vyFij4ds4AKgIPPGExxkI9ElK2k5EKX0Hsk9IkCEcT4w/O3wkxFsqJxpBp63ATRVAMgrQmWJM2GIlXb5AMzec2wVoQRxUFui4ZdVaNiZJHpP0R6TXS4nFbzBb4sDUbusV7WZ4ukRK1TmLctEH26iqtWTtZkEIPh2EHFjG9ZjLoZX2FhULqc0fl+qPNlaPicWMp0/PeCCqt/j2L+PcQ/bzhIflMu9W4mUvFB0kRwqGejnf5NOGBf90crAHOmj3QT3oRNcE8jggHTKLXfdD7soXmr2A/6OThWq1WIcmyY5Nk3Y+rCFKdptPQ4KyBwronFwvJGTGcEnxpxhluDmgDg7ACSBvahWHQ2mYibpUPkCqv4TRl+8Ia2LcJTqxURDucXepC/RGvP+yYBYj/Rz3cRpzRGq5VasTQU32+3gREnkdZF4nv+tzo/LRag3PhIixazFvDvEzgBSiE7UIeugcVq5kpKrTFvUTc7HZVLLSjI+HclNHhSWmeAA9thzISn8XgwDjdvp78/h2dGh0DxObfrFpWdi8bQ6NVoidLGOMpLea2KXm2mQ8cldAqS228g5w4MFTOwFevLGmRVM+GSo2ak7lcwtShCNiYoK40oueymGL8jPAkKf1s15bwfs8+1FNbjV33j2UDHFwxKQ5cEq7WmtpvH6lWiR5xZiMkewb12CkfAyqtLZ96rX14HD8 GZaaODI7 Ce+KKbdMkzgDHQPQudrvt2fOAbwjQw5plAnsvcnPaj9rVEsMa1SLlMyOTlnq5YpU98a12YhuuqSOemWzBhTSOqVx1bbowYw+RXI+wNDPq4ccVqRRwt5j8wxDzW0sHnMc+ucnQ0BxNQ8sJL6q/7AnZC/pdVwObJxwIrxF1XQ7W/oHML/mvaEPHHXzGkaheylVOtXWITy3iq+e+eLDSa8oB4ffTqwDM9qWsgYWgGRLnPgtLxH51n4JRgtxEvGSrsvjd4+KwOGoWmgiOv9EMJ7EGzHcx3ZF3/wLRFkJX8p0rfAn4/kIiNNjH1KAubp62EL3ney4d5ubnkvL3hy+twJyJOCtZ/d7voBhr3NGAJh+faaKCpT81C9tiTivsCHpIY6SIGgWuGZw+eU5/ENPAa1SU5FXjn6HLrhpJGCMA+p58RLSnI9A= 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
supplement of slab allocator removal
|
expand
|
From: Xiongwei Song <xiongwei.song@windriver.com> Hi, Patch 1 is to remove an unused parameter. It has a longer history, please see the change history inside the patch. --- Patch 2 is to replace slub_$params with slab_$params. Vlastimil Babka pointed out we should use "slab_$param" as the primary prefix for long-term plan. Please see [1] for more information. This patch is to implements that. I did the basic tests with qemu, which passed values by sl[au]b_max_order, sl[au]b_min_order, sl[au]b_min_objects and sl[au]b_debug in command line. The values looks correct by printing them out before calculating orders. --- Patch 3 is to replace slub_$params in Documentation/mm/slub.rst based on the changes of patch 2. --- Patch 4 is original patch 3. It is not related to slab allocator removal. It's to correct the description of default value of slub_min_objects in Documentation/mm/slub.rst. --- This series is based on [2]. --- CHANGES V3: - patch 1: Collect Reviewed-by tag. Reifne the commit message. - patch 2: Remove the changes for variables and functions. Resort slab_$params in doc. Refine the commit message. Remove RFC tag. - patch 3: Use slab_$params in slub.rst. - patch 4: It's original patch 3. Just resorted patch orders, no any other Changes. v2: https://lore.kernel.org/linux-mm/457899ac-baab-e976-44ec-dfdeb23be031@suse.cz/T/#t - patch 1: Collect Reviewed-by tag. - patch 3: Correct spelling mistakes in commit message. v1: https://lore.kernel.org/linux-mm/20231201031505.286117-1-sxwjean@me.com/ --- Regards, Xiongwei [1] https://lore.kernel.org/linux-mm/7512b350-4317-21a0-fab3-4101bc4d8f7a@suse.cz/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git/log/?h=slab/for-6.8/slab-removal Xiongwei Song (4): Documentation: kernel-parameters: remove noaliencache mm/slub: unify all sl[au]b parameters with "slab_$param" mm/slub: replace slub_$params with slab_$params in slub.rst mm/slub: correct the default value of slub_min_objects in doc .../admin-guide/kernel-parameters.txt | 75 ++++++++----------- Documentation/mm/slub.rst | 60 +++++++-------- drivers/misc/lkdtm/heap.c | 2 +- mm/Kconfig.debug | 6 +- mm/slab.h | 2 +- mm/slab_common.c | 4 +- mm/slub.c | 39 +++++----- 7 files changed, 91 insertions(+), 97 deletions(-)