Message ID | cover.1675111415.git.andreyknvl@google.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 85107C54EAA for <linux-mm@archiver.kernel.org>; Mon, 30 Jan 2023 20:49:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B7BD46B0078; Mon, 30 Jan 2023 15:49:50 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B03A46B0075; Mon, 30 Jan 2023 15:49:50 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9C9A26B0073; Mon, 30 Jan 2023 15:49:50 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 897D36B0071 for <linux-mm@kvack.org>; Mon, 30 Jan 2023 15:49:50 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 4E24280AA9 for <linux-mm@kvack.org>; Mon, 30 Jan 2023 20:49:50 +0000 (UTC) X-FDA: 80412656940.28.C1C2F7F Received: from out-19.mta1.migadu.com (out-19.mta1.migadu.com [95.215.58.19]) by imf24.hostedemail.com (Postfix) with ESMTP id 9AEC6180016 for <linux-mm@kvack.org>; Mon, 30 Jan 2023 20:49:48 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=IjSdtAT7; spf=pass (imf24.hostedemail.com: domain of andrey.konovalov@linux.dev designates 95.215.58.19 as permitted sender) smtp.mailfrom=andrey.konovalov@linux.dev; dmarc=pass (policy=none) header.from=linux.dev ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1675111788; 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=hkOxFb3yEq6h7w40h7f3LyAdThOsJZHxCl/P/Sxc7oQ=; b=JdvPItxQf2xtzxpjThR3a1CqOrzqecGHjJ2oTcxpifGoJ0t0ocuEEg4H/MtduA/Omiadhd oQ05u9FzbEuNNDR2TTcc6ZX6Z/HXDDIBwxqFj9pUBjRBC/KztiMN6yQC6b44E1jIGxlYOJ VAJ2TTpLUQFlqmeZFrw5igNVjQz0/lU= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=IjSdtAT7; spf=pass (imf24.hostedemail.com: domain of andrey.konovalov@linux.dev designates 95.215.58.19 as permitted sender) smtp.mailfrom=andrey.konovalov@linux.dev; dmarc=pass (policy=none) header.from=linux.dev ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1675111788; a=rsa-sha256; cv=none; b=2HTzhBcATUzDxo5VZZb+DQ0cJyuqLQPdUq75rQPDexEuYgYtzNryMBXv2ZGNycjfNcJrXn BjtJvIa0TfukXnCIarE2t6QZ3+g5Dh4osEeuuXOSPvFW5ClmvLoAkGkK63oB7Eh99poWfd h3OIheSKJyYlxbYHe+4lMnbaAYg27dU= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1675111786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=hkOxFb3yEq6h7w40h7f3LyAdThOsJZHxCl/P/Sxc7oQ=; b=IjSdtAT7mJMj0n3equLk6P0c1en/EigWievoZ84+T0WHThgYyVm1Mlt7y1eDxyh5x6w1qk GynjcdifilVI+8ZRAC4HGbxVI1DSaIgUk3/XoNZr6Jo4VpXVNQXVkgNW5nkvfu8ftTFyLM 4wLznoICjyBMgYo9GjxcNHuR1Nht9lc= From: andrey.konovalov@linux.dev To: Marco Elver <elver@google.com>, Alexander Potapenko <glider@google.com> Cc: Andrey Konovalov <andreyknvl@gmail.com>, Vlastimil Babka <vbabka@suse.cz>, kasan-dev@googlegroups.com, Evgenii Stepanov <eugenis@google.com>, Andrew Morton <akpm@linux-foundation.org>, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov <andreyknvl@google.com> Subject: [PATCH 00/18] lib/stackdepot: fixes and clean-ups Date: Mon, 30 Jan 2023 21:49:24 +0100 Message-Id: <cover.1675111415.git.andreyknvl@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 9AEC6180016 X-Stat-Signature: od15mab7m5zw5ocpzx3xietcfosoyphd X-Rspam-User: X-HE-Tag: 1675111788-111165 X-HE-Meta: U2FsdGVkX1/nFujit15LNyrub1XI83I+pM7hhgkeQeh33s50rTLsCaA42u9ikBk4gU9jOjqvx7EkLyYLHDjVrfVlYCgx+y6h+skNOCbNP31MvpcddcepyviERQXqpWzGZdkctH6Vtp0J9oiasJo6cbnwP4/bXJ1Ga72B/J86+0djNydqOjw2FArDC5198RomLXXfmV5kCoF59ESuxOjyz9LEVT7WysnV8Ad0duzfoer5Fb29VuHFTdK/ryhsWxcanbXph8BD4swVfKR9CwhJAjtgvxnvIQ5CbumZXD0gszhpCAgMQI2ac7GPlfhtBtfQWNJR26t6CVOiBz3BaQBtr2vbJMBLqt3qX8IzcPDC3mQErXk+IjhN5gzWhTBxoDGp9dYsFVhVDZLzO0HFCab3JdzOg4V+pJS0v9+9DMskjvcvNpAa470Qj0WMeNABKyJc0Z8AQQf5RZRw8D1E2AMTkYFJZOeyGAhllNLadXJAwQiAaBKAyFTJfh6YaFu6bmOZrcBoyfUqElri1LN8P5vU9Jpah5W/y8JfRjaZaVbeBw1H0onRpLM670TioFzFxLj2ikxrRqCmk0QTgy0UcmcAXLtNN8Mg5hUp12Q1t+HxF2X8zPJNggUx/By+y8dqZuCHUdsrga2HDlaG64DKzGczYb2YGnDr5E8o63gmTvuyASdo7dIZzQrGObkj7rfwCUf1REaSmFPZ6dqpRktnO8m3mAZOMMCbP2D0aLzJYwYKDFZuRq8jc1z312Da6F/LGwTi6KvWSNUPOQRQ2yUdu/gqGSQpEVFlVTbe6ezKxuam//VchNCi6TANAagZm993ld2QAvOkw9HDyjjf6Ip2fTnNhHWo94tE26CXIhtu7P+VNsCd9tYmVjen03wIVTUN3X/k5uT8yXfhn3EwfhyQgsyIL8jFkRkeEDmFbeXiaAtCK+alPlLZ15EgEDD60+CYlTMn4Z1POpFD5WrN1zAubhd 6LbwtTMg pMwyznm0d+94oj42osXorr/kn2lU7QsHK82kK8sABeQwTdboLFwLo9p6v9i9iqOw0Z/ichFbd1iNKWyHre96EIGIObODyPMlVW2Wg 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> |
Series |
lib/stackdepot: fixes and clean-ups
|
expand
|
From: Andrey Konovalov <andreyknvl@google.com> A set of fixes, comments, and clean-ups I came up with while reading the stack depot code. The only fix that might be worth backporting to stable kernels is in the first patch. Andrey Konovalov (18): lib/stackdepot: fix setting next_slab_inited in init_stack_slab lib/stackdepot: put functions in logical order lib/stackdepot: use pr_fmt to define message format lib/stackdepot, mm: rename stack_depot_want_early_init lib/stackdepot: rename stack_depot_disable lib/stackdepot: annotate init and early init functions lib/stackdepot: lower the indentation in stack_depot_init lib/stackdepot: reorder and annotate global variables lib/stackdepot: rename hash table constants and variables lib/stackdepot: rename init_stack_slab lib/stackdepot: rename slab variables lib/stackdepot: rename handle and slab constants lib/stacktrace: drop impossible WARN_ON for depot_init_slab lib/stackdepot: annotate depot_init_slab and depot_alloc_stack lib/stacktrace, kasan, kmsan: rework extra_bits interface lib/stackdepot: annotate racy slab_index accesses lib/stackdepot: various comments clean-ups lib/stackdepot: move documentation comments to stackdepot.h include/linux/stackdepot.h | 152 +++++++-- lib/stackdepot.c | 628 ++++++++++++++++++------------------- mm/kasan/common.c | 2 +- mm/kmsan/core.c | 10 +- mm/page_owner.c | 2 +- mm/slub.c | 4 +- 6 files changed, 435 insertions(+), 363 deletions(-)