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: 13214452 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9CB0C77B72 for ; Mon, 17 Apr 2023 19:04:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6E63C8E0001; Mon, 17 Apr 2023 15:04:58 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 696546B0072; Mon, 17 Apr 2023 15:04:58 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 584DE8E0001; Mon, 17 Apr 2023 15:04:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 4842B6B0071 for ; Mon, 17 Apr 2023 15:04:58 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 0140A1C67F2 for ; Mon, 17 Apr 2023 19:04:57 +0000 (UTC) X-FDA: 80691810276.05.1ACD32F Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf27.hostedemail.com (Postfix) with ESMTP id 7A0DC4000E for ; Mon, 17 Apr 2023 19:04:56 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=sOkt741r; spf=pass (imf27.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1681758296; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=r9QKNnIiIBWon94TJioOlyJDwycgFJtb0kBxD0slR7Y=; b=5VhTOENWK7c9UlA+6xjZ2dHX7eQ+NK0LeyZv13uII2LsoGva49fTlYV4pIUqLVOBn9end8 /bM+3b0RrlYsA3uc5nlxPQGpgO31fnO6iw7ksVoeekOCC/h41KGJYhVayUQ+36C+Cqh6Hd ziSPWpL2hzEH7y8lL72mterj0QryOhk= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=sOkt741r; spf=pass (imf27.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1681758296; a=rsa-sha256; cv=none; b=6QBenpNAPYKUjWka3HozGF2l69wpQFS42GdC3+XbgxdUnBPYFKTEmK8JNp4coKn6GdCXjE YpRFeqFsfwQfnwumzYUwBRb1K/WG6KK5WkxwcqektqqLOU59b7rHAiyJntFPDe9hKyAdss Roe6c5JLN0DeZVNBjbSJqP0sSJ2lBVY= 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 A72D861768; 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-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 7A0DC4000E X-Stat-Signature: nq7inpen1sd6jgsxqc4wxkp74nd17f14 X-HE-Tag: 1681758296-591872 X-HE-Meta: U2FsdGVkX19JvQMvzzZXthA3RlsdfPbB+hyraAZDMRiQ6o7ahPsWIJUn9jjh0mCG+0xeUW7Ka6bPPzKhgmN67CErJFkOVdjM/uiJb8ke2GRi39pRozI/z7Gp+zz71h8X1x2/e6vX8Pb8a0yJ4ASgQMtCrx+YWjjOyEazMpi/ufpaoS4NncWbQF19Ur4AOFu0LZWdFvuhV2VH7wNvUqV5DOIrw/RgEiRs04+SriRTNh2lmL8Upx53AJi89LzlSfoJKjfJQSZOBa9rvvKo9W/6Y37DCOUN8ARCv1sGvSL0Pz5O1I1pX3QNSOUwvjcqMTh7cfdN+zKNjg3VjlFIAoQb27AuupmCaLIkZAAu7qMlC4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 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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(-)