Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2129565rwb; Mon, 7 Nov 2022 09:28:05 -0800 (PST) X-Google-Smtp-Source: AMsMyM6latF/eSdWf4dprwLDat9M1LNUfXSAwFHXVbLfMJkisIqTd13E3BFZDkuH8a4HjOloBjHa X-Received: by 2002:a05:6402:360d:b0:459:5f40:5b0a with SMTP id el13-20020a056402360d00b004595f405b0amr50033616edb.168.1667842084799; Mon, 07 Nov 2022 09:28:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667842084; cv=none; d=google.com; s=arc-20160816; b=D9PyUZytxMCfcQ1v6/zJMpqDC62WQ5zrMPxc1wfv2UrBNBAzi3w3lYzy9MWEkxcIaR GfFvCSHOhw3a2UyEGV6pgemZUacdVsX3imkEV704MfNSUEA+8x2op4IMU0SBXbXUkESm D8wL2DVEspURvuyD6l3DKg+s6t/o1mI5vqGegCizQ32mI6KtiEfkTSKxvo9UkqY+vhAz +UrtRDsniCBDmbAir2pI+q3zY3O2qNXkMaLzid/6wSBMGINekKmNXPrRRWDKr+M3UTOR 6rQrZpnOmf09cFbwqMqCfMNN/7Cgc12MPmXRa2Vz+5rlXaVohgSFRgPTgi427b6yV9GK lVyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=rn9xQxF1SiqI3hq3m8+HEoFWEg4sEnRP9PimT44lp+o=; b=a6DgqZQ3unz7BsZbNGczScTjjJgIbos9L30SRRFpB8YxGWRylVUfnN4adiHFPDijbk oHrkA8BexpViVTLFexYb/oiLYKl+DH7UfJjdaILxz15KIF/P0hR1uvc8H1i87SAg8B11 xaN2u8/1YXB66WKoEK7noHge9oWQvp8fQocRh9jhGz5p9fQSdBFHhwjYQTXBDphFchuz G/5lCuK1YeMa74hVvIxfg5zEIIrKdlned4kvcC0piJYzcPDqKY7syFMM319Ps0NIJriX szUmpzSuft4pU2Al+zJGRJJEbSOafQ2iR9aLptOSXWa/Skiru6jhCQziwKza+yC2FSMU 67zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=0+UgC16v; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=BthGwYjh; 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 by12-20020a0564021b0c00b0045d8bff7b1asi8567888edb.403.2022.11.07.09.27.40; Mon, 07 Nov 2022 09:28:04 -0800 (PST) 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=0+UgC16v; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=BthGwYjh; 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 S232777AbiKGRGF (ORCPT + 93 others); Mon, 7 Nov 2022 12:06:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232348AbiKGRF7 (ORCPT ); Mon, 7 Nov 2022 12:05:59 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96F0C60CD; Mon, 7 Nov 2022 09:05:58 -0800 (PST) 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 45E43225FE; Mon, 7 Nov 2022 17:05:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1667840757; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=rn9xQxF1SiqI3hq3m8+HEoFWEg4sEnRP9PimT44lp+o=; b=0+UgC16voEobAqhc3TDmlKXe49ffMkXz+JYFLH8Q2VdizXmpUKArwb4F0qb9ogZsQDV7L9 wW88bSLIej+5QA0d0SkjpYx20LpK/CK4yjk5exZLnoBvUKdhpH81dfleDuEf+JTU9ae2XU qpb/UxXIPhrHnw8QddJU2nlr9N6bVeY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1667840757; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=rn9xQxF1SiqI3hq3m8+HEoFWEg4sEnRP9PimT44lp+o=; b=BthGwYjhGhVwuVLPtrRxURFYyQF/G51vCTt54KbN5k/VQTH9Bquv9SYzU8DJCQrQ/5P/ME vcLfqjRaY89zTbAQ== 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 17DC113AC7; Mon, 7 Nov 2022 17:05:57 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 9TkwBfU6aWOYfwAAMHmgww (envelope-from ); Mon, 07 Nov 2022 17:05:57 +0000 From: Vlastimil Babka To: Christoph Lameter , David Rientjes , Joonsoo Kim , Pekka Enberg , Joel Fernandes Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>, Roman Gushchin , Matthew Wilcox , paulmck@kernel.org, rcu@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Vlastimil Babka Subject: [PATCH v2 0/3] rearrange struct slab fields to allow larger rcu_head Date: Mon, 7 Nov 2022 18:05:51 +0100 Message-Id: <20221107170554.7869-1-vbabka@suse.cz> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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, The previous version (RFC, no cover letter) is here: https://lore.kernel.org/all/20220826090912.11292-1-vbabka@suse.cz/ Git branch is here: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git/log/?h=slab/for-6.2/fit_rcu_head (also in linux-next since late last week) The rationale for doing all this is in patch 3 - I hope there are still plans for the rcu_head debugging, Joel? The previous version was in linux-next, which brought crash reports due to causing false positive __PageMovable() tests. There were several attempts to deal with it, as explained in Patch 2, which is an updated version of one of those attempts. It hasn't been formally posted and reviewed yet, hence this posting. Thanks, Vlastimil Vlastimil Babka (3): mm/slub: perform free consistency checks before call_rcu mm/migrate: make isolate_movable_page() skip slab pages mm/sl[au]b: rearrange struct slab fields to allow larger rcu_head mm/migrate.c | 15 ++++++++++++--- mm/slab.c | 6 +++++- mm/slab.h | 54 +++++++++++++++++++++++++++++++--------------------- mm/slub.c | 26 ++++++++++++++----------- 4 files changed, 64 insertions(+), 37 deletions(-) -- 2.38.0