From patchwork Sat Apr 15 00:37:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 8223 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp749378vqo; Fri, 14 Apr 2023 17:44:34 -0700 (PDT) X-Google-Smtp-Source: AKy350bj9Pj76VJLq8zBPIyvLgYHkdv0bd0E8KazpRLrJDgtFEyLYpAnyeWbsfx36NkmUIRhP+sF X-Received: by 2002:a05:6a00:14c6:b0:63b:59a7:eafa with SMTP id w6-20020a056a0014c600b0063b59a7eafamr10422459pfu.25.1681519474174; Fri, 14 Apr 2023 17:44:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681519474; cv=none; d=google.com; s=arc-20160816; b=HDkYhYFbw7w1kFY9CwhxwpXg1QaW4U0dALiuEyBWMFh8ze2i7vfWaiL/yY6OsZaHx7 JvF9mERxE59p0BIYYr3jMRRFZKVoPXDgRF/XZQv1eB9gu1haBYTucQseW483NCAfqygN eRuUr9jzA0I0j1ssvctna3aScMnWZdTwnHa1AX4qC/gH6lWG2HBLwxCM+TlhCZyFvRnU wGp3kuJc7o/oy5BDfOqAydd+yF04eEQiBaP4Lmj/mRgfxutAhPELJSYXWvQjyxymxJD+ livCvoScXVKqpgfZD5C5zv7/13sHvMlc/Acv3byeOTE4MZszzgE325UvRXawxn7f6LwX WU0g== 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; bh=+qVxKsiyyhiNMHQsXtEtFVZBxdHXM+iZO1w592gY2LY=; b=k4SOHRNn3vBRmwiQwrb1hFp7IcB3A0bul1Ap2TvBY6gmo5wCRShZEjJFba6P0Mp9Uk LFXyJ+I/DePua6hgs8Zrg2bVe84BzCunVLi93mZxfE13SRh0KtNIo18TlClzbTi91NCW SoPPngmXcT7acotQFV/GXLqWGdLbClJYWYsEOhaRU15eZym35X2Xzp7IeguronTxWt6D 6PLd0iRUKpoJRjIBO3IbeL47kBhrtb7KStZRIFFVojiNaHxivavPU31dM9vQgijNmxQW VqKV62z+dHXuT3kGcolxJYx3AI3ihLO91VfueSoPRPSZrBhqjLPwOXRUyYfi9RThWBr6 3c6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZLUJE0id; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p67-20020a625b46000000b0063b57ad9891si4520414pfb.315.2023.04.14.17.44.21; Fri, 14 Apr 2023 17:44:34 -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=@kernel.org header.s=k20201202 header.b=ZLUJE0id; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230099AbjDOAiF (ORCPT + 99 others); Fri, 14 Apr 2023 20:38:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjDOAiD (ORCPT ); Fri, 14 Apr 2023 20:38:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AF8E10C9 for ; Fri, 14 Apr 2023 17:38:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E6F6064ADA for ; Sat, 15 Apr 2023 00:38:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBAF8C433EF; Sat, 15 Apr 2023 00:38:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681519082; bh=Kf7kPzBaEJ41HhyFrzM1/CgIDjO8JF8u/iJTM4wEllc=; h=From:To:Cc:Subject:Date:From; b=ZLUJE0idVR9Zv1EzJZaljkaFfjw5BGE/APNL9tSdBdj3w2qaF+gP4zFNDWOv6u1tV JQiA6waG/phS0joGWsgCBsysyeAPNxg8hQyddcV3luce+bw23KwxAHM9ZgdPcBmoN1 ne20X0MA3ctZCFEMcqxTSn22WyS7pW+CLQyG72mcZz0OPPYzysS8ps8a4PXkpCQ3VL bEmZ1k80z0zhbewjCwM61JWkGSAWm96yNVVvSWubfsxggEl57tuwZtLjc7QyzKJOKF IlBnudB7gYhdAqV7/BsxSGkcnRWcDH9IhWgGSdDKIZzuqhITUsVOly5RgVL0yBmq8D 9JCLZ6iGzS6dw== From: SeongJae Park To: akpm@linux-foundation.org Cc: vbabka@suse.cz, linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 0/2] mm/slab: trivial fixup for SLAB_TYPESAFE_BY_RCU example code snippet Date: Sat, 15 Apr 2023 00:37:51 +0000 Message-Id: <20230415003754.1852-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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?1763200963686154717?= X-GMAIL-MSGID: =?utf-8?q?1763200963686154717?= This patchset is for trivial fixup for SLAB_TYPESAFE_BY_RCU example code snippet, namely adding missed semicolon and breaking RCU read-side critical section into smaller ones. SeongJae Park (2): mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example code mm/slab: break up RCU readers on SLAB_TYPESAFE_BY_RCU example code include/linux/slab.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)