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 2C073C433EF for ; Mon, 23 May 2022 09:54:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A9B7B6B0005; Mon, 23 May 2022 05:54:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A4B006B0006; Mon, 23 May 2022 05:54:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 913156B0007; Mon, 23 May 2022 05:54:11 -0400 (EDT) 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 7D2CA6B0005 for ; Mon, 23 May 2022 05:54:11 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 55D7C20FAC for ; Mon, 23 May 2022 09:54:11 +0000 (UTC) X-FDA: 79496547102.21.6F29325 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by imf22.hostedemail.com (Postfix) with ESMTP id 2BAB7C002A for ; Mon, 23 May 2022 09:54:07 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 2F5FF1F8D1; Mon, 23 May 2022 09:54:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1653299649; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=erOshWmECESgqBp6Iuj7MaJ8okz8vOBNIGGhbQHexUI=; b=h7CjHUa2NCOqxv9L/6RzM4jEjuzpoPTbkaU5SVmtb+1lXLGAM3UFxsqVgjvKvcjbmCm+1m BCn0rD7a2/3dmnpykTxX4HGKHggenWNEvZnN9Qeymxe9Lsla+6h6otWe5iO3xXJC7DbOTa KY6ltwuEdtdn2EFtfUzhejeEy7kSabw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1653299649; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=erOshWmECESgqBp6Iuj7MaJ8okz8vOBNIGGhbQHexUI=; b=KuMdqXkkqrTFF0cBTGZ18aT7ud3Eii3GYBw8WNMefSNI8Mu22eo4cIOMW+KHSZ5F1lOPPT oFSUQ1YpKGjY0RDg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 01D72139F5; Mon, 23 May 2022 09:54:08 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id sxIhO8BZi2LYbgAAMHmgww (envelope-from ); Mon, 23 May 2022 09:54:08 +0000 Message-ID: <8062f61e-5a4d-00a5-be1a-7921d3277e9d@suse.cz> Date: Mon, 23 May 2022 11:54:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 From: Vlastimil Babka To: Linus Torvalds Cc: David Rientjes , Joonsoo Kim , Christoph Lameter , Pekka Enberg , Andrew Morton , "linux-mm@kvack.org" , LKML , patches@lists.linux.dev, Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com> Content-Language: en-US Subject: [GIT PULL] slab for 5.19 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=h7CjHUa2; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=KuMdqXkk; dmarc=none; spf=pass (imf22.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.29 as permitted sender) smtp.mailfrom=vbabka@suse.cz X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 2BAB7C002A X-Stat-Signature: ojxgpoqb6nxy8c34ge1rgr9p7cha6ubu X-HE-Tag: 1653299647-948605 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: Linus, please pull the latest slab changes from git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-5.19 ====================================== - Conversion of slub_debug stack traces to stackdepot, allowing more useful debugfs-based inspection for e.g. memory leak debugging. Allocation and free debugfs info now includes full traces and is sorted by the unique trace frequency. The stackdepot conversion was already attempted last year but reverted by ae14c63a9f20. The memory overhead (while not actually enabled on boot) has been meanwhile solved by making the large stackdepot allocation dynamic. The xfstest issues haven't been reproduced on current kernel locally nor in -next, so the slab cache layout changes that originally made that bug manifest were probably not the root cause. - Refactoring of dma-kmalloc caches creation. - Trivial cleanups such as removal of unused parameters, fixes and clarifications of comments. - Hyeonggon Yoo joins as a reviewer. Thanks, Vlastimil ---------------------------------------------------------------- Andrey Konovalov (2): mm: slab: fix comment for ARCH_KMALLOC_MINALIGN mm: slab: fix comment for __assume_kmalloc_alignment Hyeonggon Yoo (2): mm/slub, kunit: Make slub_kunit unaffected by user specified flags MAINTAINERS: add myself as reviewer for slab JaeSang Yoo (2): mm/slub: remove unused parameter in setup_object*() mm/slub: remove meaningless node check in ___slab_alloc() Jiyoup Kim (1): mm/slub: remove duplicate flag in allocate_slab() Miaohe Lin (3): mm/slab: remove some unused functions mm/slub: remove unneeded return value of slab_pad_check mm/slub: remove unused kmem_cache_order_objects max Ohhoon Kwon (1): mm/slab_common: move dma-kmalloc caches creation into new_kmalloc_cache() Oliver Glitta (4): mm/slub: use stackdepot to save stack trace in objects mm/slub: distinguish and print stack traces in debugfs files mm/slub: sort debugfs output by frequency of stack traces slab, documentation: add description of debugfs files for SLUB caches Vlastimil Babka (3): lib/stackdepot: allow requesting early initialization dynamically mm/slub: move struct track init out of set_track() Merge branches 'slab/for-5.19/stackdepot' and 'slab/for-5.19/refactor' into slab/for-linus Yixuan Cao (1): mm/slab.c: fix comments Documentation/vm/slub.rst | 64 +++++++++++++++++ MAINTAINERS | 1 + include/linux/slab.h | 15 ++-- include/linux/slub_def.h | 1 - include/linux/stackdepot.h | 26 +++++-- init/Kconfig | 1 + lib/Kconfig.debug | 1 + lib/slub_kunit.c | 10 +-- lib/stackdepot.c | 67 +++++++++++------ mm/page_owner.c | 9 ++- mm/slab.c | 29 +++----- mm/slab.h | 5 +- mm/slab_common.c | 23 +++--- mm/slub.c | 174 ++++++++++++++++++++++++++++----------------- 14 files changed, 283 insertions(+), 143 deletions(-)