From patchwork Mon Nov 7 17:05:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vlastimil Babka X-Patchwork-Id: 1284 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2178629wru; Mon, 7 Nov 2022 09:12:03 -0800 (PST) X-Google-Smtp-Source: AMsMyM6JOIA0vQWBLEXSAzJOFTIVe0MGZtWHDzOGchPguOfKCr9Aozr46zkedP2ofasq29XD7HWG X-Received: by 2002:a05:6402:5c2:b0:463:7312:a94 with SMTP id n2-20020a05640205c200b0046373120a94mr806057edx.178.1667841123798; Mon, 07 Nov 2022 09:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667841123; cv=none; d=google.com; s=arc-20160816; b=EMjlprFWvd8MAmuLtqLcP0K2USH0b4FrGU/nW6L57yEsb/FfFuqHDB+vAVifKrYVzK t1DSy3XHtaJQtPM/eOhcyQsp7cp2o1LKEw8jbyWs5dvT4gVGEAgmPVj0CuIfK3T9yZyF cKeLPEedmNOIbUPfCRYvQx286GWB21ujUnXc53AonROispwKcHbBj9Unh4JqSa03k+Vk EZYbXZZgLdf2zLtydVbPHDIYTQ2UegklmGxPBhYqYYiSHijUdZHXWgE5iyNenOsQyHy3 RDU5xeHjoC5KRQbexc7g5cGU1bXZwS/uk10y4LjZ/hCn75Uebw7XBQToqFS992PHH8sk zZlw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g14-20020a1709065d0e00b0078dffe01cbesi11180138ejt.4.2022.11.07.09.11.40; Mon, 07 Nov 2022 09:12:03 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748858174144333739?= X-GMAIL-MSGID: =?utf-8?q?1748858174144333739?= 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(-)