From patchwork Mon Apr 17 19:04:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 8321 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2354389vqo; Mon, 17 Apr 2023 12:27:44 -0700 (PDT) X-Google-Smtp-Source: AKy350axI43c/1jrh1BnejTOnUjKxT549UisdOMfBpo/HSCsAkrmtXOazG8F3lXOqOGTjQxUxTQi X-Received: by 2002:a05:6a20:cc5e:b0:cb:8d74:112e with SMTP id hq30-20020a056a20cc5e00b000cb8d74112emr15928025pzb.45.1681759664284; Mon, 17 Apr 2023 12:27:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681759664; cv=none; d=google.com; s=arc-20160816; b=mBVenbZ/cC2YZkcrTXOMHCFf036k0p4sUodNal2ag+baS59FktyRrS1rIlzk1We0Fj 5QtX4CKR+ppHan+7aRrqnUb4jMV/qZ5ZiB6J5/yWMPQUwEiWO2bnkvB1P8i5Iipw+kUX uvQnCONK+ALSvwuu0UYlf7s4K+ipY4RA5qrJieubx/QEnJ+gFy1rGdUbkIAYrtNuX46G KWteOJUe2LEXwRWT0smtzxO7wHR7jYUCfHVUGpDBDnAkfuep49qrRlS7uqCSpKImh7TF PaF+Al5jyYiSApfOa9LPdpJtODS/okgwOnQGxlzh+KcP4uKTuAxaRhpSRdvCeJ/6m5b8 1RoA== 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=r9QKNnIiIBWon94TJioOlyJDwycgFJtb0kBxD0slR7Y=; b=aw+uLMz78WgFYjB7o8BJMYvmkuDkLdRwqRv02iEg8wsmnj4vMXxmLlE8Wtkyj6DmpC BEg4zmKZ9ScvmatH3Jw0BVigkV9k/Myn9A9ZBFkKBl/B2/JcUnjwbZmxQDyJ6Jy5VNdv XKht8u9BEkMH21mNVkwchHv9aHuBAFQmTopvtZBwziA4npa7nujkSZpdg8fn1iU4btgh pCWeJmdKQta+LrwQbidKTi/azdMWqA1BO/KULDZH7kB7tChOv7wYXvugLDE81/H8Hlas q1PzxCLlJ+bTkipcJt0Jw/DPMEXb1ismahbMnmHharRFkucQlOcAVbcyy5cFzyfmHUU4 VlVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sOkt741r; 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 6-20020a620406000000b0063d28eb37a8si1802153pfe.402.2023.04.17.12.27.29; Mon, 17 Apr 2023 12:27:44 -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=sOkt741r; 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 S230014AbjDQTE6 (ORCPT + 99 others); Mon, 17 Apr 2023 15:04:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbjDQTE4 (ORCPT ); Mon, 17 Apr 2023 15:04:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E8861FF3 for ; Mon, 17 Apr 2023 12:04:56 -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 A8A1E62115 for ; Mon, 17 Apr 2023 19:04:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 575FBC433D2; Mon, 17 Apr 2023 19:04:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681758294; bh=36k7ZHV7THElv6BYEiOboGGyVznhxk9OHTRtqn1QgQo=; h=From:To:Cc:Subject:Date:From; b=sOkt741rD3wSiLsDPSvg0sFaEi4jC6NWWhTAJaMhCfdVw3EW9B2fRy4JUrbnS9HAY cuqyoyWgCDK3GMzoRNJyohejJREWRzrQrgYCIrf08r8a7UuZ8RNIzj70igLXDEgkey JiPVU045OLF3kU/V/UXAZ1c0UaEoOjyeN5LIyHXr3rZATn1xB64fLEOOIeC8ZoaH2y EE80ipuDfUZar/Wu7kqLPscnN8hzn4AuaKNgG9FCdPWTPDIo4xvmFPreqa8ZnJKzOx 3tjhsDsYuV31AW01+QGo3ViHFKM6F0l1aDIC32xRd30wIjE/eZ4GpaBPUJoU89Gwoh GxTF46iNM+KgA== From: SeongJae Park To: akpm@linux-foundation.org Cc: SeongJae Park , vbabka@suse.cz, willy@infradead.org, paulmck@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/2] mm/slab: trivial fixup for SLAB_TYPESAFE_BY_RCU example code snippet Date: Mon, 17 Apr 2023 19:04:48 +0000 Message-Id: <20230417190450.1682-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?1763446545150861424?= X-GMAIL-MSGID: =?utf-8?q?1763452821972444910?= Changes from v3 (https://lore.kernel.org/linux-mm/20230417173238.22237-1-sj@kernel.org/) - Yet more wordsmith of the second patch's commit message (Matthew Wilcox) Changes from v2 (https://lore.kernel.org/linux-mm/20230415033159.4249-1-sj@kernel.org/) - Wordsmith commit message of the second patch (Valstimil Babka) Changes from v1 (https://lore.kernel.org/linux-mm/20230415003754.1852-1-sj@kernel.org/) - Update label (s/again/begin/) correctly (Matthew Wilcox) - Add missed rcu_read_unlock() 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 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)