Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1771079ioo; Mon, 23 May 2022 02:58:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC0PUevCXUPU/Cg2iiaw91QIPX0UITr25WqWxVU4wwbLKEzkruE3eppGuhCXexQQc5dfzi X-Received: by 2002:a05:6a00:a8b:b0:4e1:52db:9e5c with SMTP id b11-20020a056a000a8b00b004e152db9e5cmr22814311pfl.38.1653299914969; Mon, 23 May 2022 02:58:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653299914; cv=none; d=google.com; s=arc-20160816; b=0clTXwjHCGlrx7I5ClLdVUMxOwvVj2/HLCVMhJPCyOOwX7dMFtybsGJqUYgnsSowTg OhmzJ+dlZcFroQiZv0NTlBXOF+SJSrKKmX/VdZPAnNdrDaWohyq1xIFnB1xk4JZh/N4x AwCOYO6i5wNS/dSQtHcp0DKvgcOFQ234tazh+BZaqOEBRq/o+oAm+rTyasTfW53u5Eqq wl3gEp8E75BKX729qtZ29ZxJ/pD2gUp0Zm+BPqeF1iBV3i7znv8Md6RSVXXxPayCkid5 NsDpTAerQhUdRm5UnSY3y5ilxS0Fa1D9gsUd2Rhe3it/+cImKzqszli4xYg6GHZ2m2jm WuNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject :content-language:cc:to:from:user-agent:mime-version:date:message-id :dkim-signature:dkim-signature; bh=erOshWmECESgqBp6Iuj7MaJ8okz8vOBNIGGhbQHexUI=; b=RMC5fA9CS7B4GnEwrdQ9+94oA74cSmdN02eq4vxWRou9rsOZrtfgp6ElniIE+hI/P6 PdNW6JLnLq5IIdVJQJG5EkAr3u9sKfN7vw2urXDjo3C9gESL+Li/yCH0QDHrAoglxR36 u+O+u6mGAZYxVNXCQkA9dagplKTaCaSeY394h44W6odTL2BOdWQGkh9peuTQP7wD4LL2 7NN6hBrTDFmWch1rGgzu6na9SKtNVQ06lot2sQX6MqlLlJheaGkLOUJXODz1BKQy27+O mC+0ozIiUaibQ04vLCOx1lPXugnzGw7OLonhwziSz+VQgun04OjtU8pjxkdk1HEmGs7W wK/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=h7CjHUa2; dkim=neutral (no key) header.i=@suse.cz header.b=KuMdqXkk; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t3-20020a63d243000000b003c26d66859bsi9883472pgi.417.2022.05.23.02.58.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 02:58:34 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=h7CjHUa2; dkim=neutral (no key) header.i=@suse.cz header.b=KuMdqXkk; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B2BCC3CFDF; Mon, 23 May 2022 02:54:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233565AbiEWJyO (ORCPT + 99 others); Mon, 23 May 2022 05:54:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233552AbiEWJyL (ORCPT ); Mon, 23 May 2022 05:54:11 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73E8E1FA4A for ; Mon, 23 May 2022 02:54:10 -0700 (PDT) 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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)