Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1942091rwr; Fri, 21 Apr 2023 01:43:08 -0700 (PDT) X-Google-Smtp-Source: AKy350aVlgYtkSPeUjNp5o/vLHZddnp4nMxOIwDFO8JrZ7L0+uOeWp/cGpPlQfyp+gJEKR+VImRc X-Received: by 2002:a17:90a:5890:b0:246:8497:37c5 with SMTP id j16-20020a17090a589000b00246849737c5mr4069162pji.46.1682066587887; Fri, 21 Apr 2023 01:43:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682066587; cv=none; d=google.com; s=arc-20160816; b=yfirop71lAFpCTTtaPZm/67Q19/daxEvP/vwo8WZnWNnMyq03Oll5kLtjUUzZp2DHN G7pWlTpzztv5SW2vKfRBi73Vpbq8B3W06vMuxhFnzkvy5kpIH9gCu1RRlw6P0lMGkc3j sz6GFOG7um82k38JwYR9/p3/OS65sdqBsTH72HhLGuyhdusPdQQtxNFQFavXFJ7QImXu YnW3zBYLZM0bXl+4N2Vq0kgKHTs7yTd7Cvq+Ta1kVmQHv28F8IbKg9Pf7YlXKWlKYJ+R QOGtc8vI7YHahBkRZYIv4+4KdP6NjMde8z7jVJdT5UX/Fad1ggDmPKTDXT8o9ZvtQ7zC pcqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language:cc:to :subject:from:user-agent:mime-version:date:message-id:dkim-signature :dkim-signature; bh=BTlq0dIo+CYwQTq80W5QX5pdZ/tX5QOHdE+5C7sG38Q=; b=o9+0GZ82LXdwh4BXT5Pz12ZnTVFDdSQS5BDZz1trYxvGcgFxJHHpmHTMuivPtqx/ea A8JWzFobf8GHaExQWoult83Fi8UEJ5hS67HsYhB5NC+qJbXUyKAE/B86YRKv+FTAfZDC WSMPnqDPgKoOyqTZDguk/EHbBxbqccetRnhseGf4r4Zlk6DQGM/8c0yM+TfOJGmkmd79 YASOmvfy6mTYubEVzzZ7Ing5Nsu2r0/ifHD1v/6fGdvTAVhwfkTh4dIK/vGNVV/D2Wh5 lYSgVWIP08bFo5DEZGM3ZDFQ6ZKIR9EAoLaxKIPGJAw3zcgyaxDFqxW/4x1krLsWzD+N XJ1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="X/f+d+b8"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg8-20020a17090b1e0800b0023312fad927si7054424pjb.100.2023.04.21.01.42.57; Fri, 21 Apr 2023 01:43:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="X/f+d+b8"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229879AbjDUIjI (ORCPT + 99 others); Fri, 21 Apr 2023 04:39:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbjDUIjH (ORCPT ); Fri, 21 Apr 2023 04:39:07 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33648E64 for ; Fri, 21 Apr 2023 01:39:05 -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-out1.suse.de (Postfix) with ESMTPS id D5EC321A4D; Fri, 21 Apr 2023 08:39:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1682066343; 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=BTlq0dIo+CYwQTq80W5QX5pdZ/tX5QOHdE+5C7sG38Q=; b=X/f+d+b8A8ImVeXEyEdSYf9yH+H1ZVBG43+kjfenmCp1mgKEA5ow88sjZsPwtB4Q+kGUNU CWE4OoRzVIpXdY3iCQxZ1pIEQoz2DOXZIAOdxnnwnCS2BHYWuiURAtgcCRdSlrhKR9KMvD WnF5bFdO0ZTjyDMWIcrXV5hZzr8Bu2M= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1682066343; 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=BTlq0dIo+CYwQTq80W5QX5pdZ/tX5QOHdE+5C7sG38Q=; b=kVSC8+LN9vrpsekbi6X2P6s9RdZTlecXkjUWgbTnhMQPFRlP/6ehCPzZHseSh6SLS0F2QJ DFIb+nj/zFJx4PDw== 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 A98E41390E; Fri, 21 Apr 2023 08:39:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id qJSwKKdLQmS+NQAAMHmgww (envelope-from ); Fri, 21 Apr 2023 08:39:03 +0000 Message-ID: Date: Fri, 21 Apr 2023 10:39:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 From: Vlastimil Babka Subject: [GIT PULL] slab updates for 6.4 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Hi Linus, with the assumption that there's no rc8 this time, here's the slab pull request ahead of the 6.4 merge window. And if there is rc8 after all, shouldn't matter. Please pull: git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.4 The main change is naturally the SLOB removal. Since its deprecation in 6.2 I've seen no complaints so hopefully SLUB_(TINY) works well for everyone and we can proceed. Besides the code cleanup, the main immediate benefit will be allowing kfree() family of function to work on kmem_cache_alloc() objects, which was incompatible with SLOB. This includes kfree_rcu() which had no kmem_cache_free_rcu() counterpart yet and now it shouldn't be necessary anymore. Besides that, there are several small code and comment improvements from Thomas, Thorsten and Vernon. ---------------------------------------------------------------- Thomas Weißschuh (1): mm: slub: make kobj_type structure constant Thorsten Scherer (1): slab: Adjust comment after refactoring of gfp.h Vernon Yang (1): mm/slub: fix help comment of SLUB_DEBUG Vlastimil Babka (8): mm/slob: remove CONFIG_SLOB mm, page_flags: remove PG_slob_free mm, pagemap: remove SLOB and SLQB from comments and documentation mm/slab: remove CONFIG_SLOB code from slab common code mm/slob: remove slob.c mm/slab: document kfree() as allowed for kmem_cache_alloc() objects Merge branch 'slab/for-6.4/trivial' into slab/for-next Merge branch 'slab/for-6.4/slob-removal' into slab/for-next Documentation/admin-guide/mm/pagemap.rst | 6 +- Documentation/core-api/memory-allocation.rst | 17 +- fs/proc/page.c | 9 +- include/linux/page-flags.h | 4 - include/linux/rcupdate.h | 6 +- include/linux/slab.h | 41 +- init/Kconfig | 2 +- kernel/configs/tiny.config | 1 - mm/Kconfig | 22 - mm/Kconfig.debug | 6 +- mm/Makefile | 2 - mm/slab.h | 61 --- mm/slab_common.c | 7 +- mm/slob.c | 757 --------------------------- mm/slub.c | 2 +- tools/mm/page-types.c | 6 +- 16 files changed, 32 insertions(+), 917 deletions(-) delete mode 100644 mm/slob.c