From patchwork Sat Apr 15 03:31:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13212288 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 E62D9C77B72 for ; Sat, 15 Apr 2023 03:32:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3F07A6B0072; Fri, 14 Apr 2023 23:32:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3A0F86B0075; Fri, 14 Apr 2023 23:32:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 268A7900002; Fri, 14 Apr 2023 23:32:11 -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 134116B0072 for ; Fri, 14 Apr 2023 23:32:11 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id CB3AB1C62C3 for ; Sat, 15 Apr 2023 03:32:10 +0000 (UTC) X-FDA: 80682202020.27.40517CE Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf11.hostedemail.com (Postfix) with ESMTP id 4869440003 for ; Sat, 15 Apr 2023 03:32:09 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=sAuxz+bq; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf11.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1681529529; 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=7XShoI0EfzkM0KeOZWvI6p7JHQ4OEJXqOyoyotN8vps=; b=MpWHyvzAEwErs1csyQ6ZtC32ppNNnGLVaKtvhQWYv7/hU+p+RdaHjWPM+5Deud4emys7R0 KpNGT9e2It8XPCxi8XN0DVEMwL5wxEqZbr4qz62MbURVcvhlteBWpknMf8nS4ksqkBa2vp 0hcIwLc6AvZZyhJ8YVTLMYv/S/4YVbM= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=sAuxz+bq; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf11.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1681529529; a=rsa-sha256; cv=none; b=i6CXn5Ep4JxfEGeeNdGYqm89U6uSShQzV4VbvaIdnW911SoIWkIas6enzkJdfzlJvfSyxP kx+xJFmuohmpwJ3Bw7p6MBcvN2v72X9ehck9U80SO+IfR9qY5gAmotkZzMeSHBbu2T46KE FdMxNztwFGad++V2i1Gu9RWfEOGctlw= 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 4214F63869; Sat, 15 Apr 2023 03:32:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28A74C433D2; Sat, 15 Apr 2023 03:32:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681529527; bh=zrnvQbJRP8KwMbeuQm8RWrnctmmFuomVwOxEtlAx9+0=; h=From:To:Cc:Subject:Date:From; b=sAuxz+bqsaq3Lcyk6nrqJOaWRl1tZH3oAvW+Cx9n+oaNMxHuEsyJx3aPNUk1MCrvU LwaN03xeJ/c+zk1lasxCANxXAP+QFg/yVcB/r3H5oYBCKW6f5ZE57lwZ+lyQRgSgvt 3cRlce2K4BgdBScr3zLej2/+bhL8xBCun5T5gCmFpSsge2lIzeKpvENC1dBxGM5lw4 /kfcKXkHrkNnZ3FCAO5gN49+CHMtf/FXBz/hp8JJtBLD2dXz+rFQeEiWOJEWPCNcx+ rfEQ5jEnwEfBhIPyqbnoYtnowxuqnQsfP6qLxCKnC7xSAdCNKIojMfZ2RQLr9cmdtA vBoImLo2TLJKw== From: SeongJae Park To: akpm@linux-foundation.org Cc: vbabka@suse.cz, willy@infradead.org, paulmck@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH v2 0/2] mm/slab: trivial fixup for SLAB_TYPESAFE_BY_RCU example code snippet Date: Sat, 15 Apr 2023 03:31:57 +0000 Message-Id: <20230415033159.4249-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 4869440003 X-Stat-Signature: o447ruwbb76bf7tz4frqapkab8g5pwhh X-HE-Tag: 1681529529-728105 X-HE-Meta: U2FsdGVkX1/TB8ZAz3QLwS9rnoNu/iiLeZLthwoaGKLWoJYTJn+ODvkRQojXEWoTcg+tfvoce6vNoCB8uzElQnUcjHd6YAwVEck7pYO2mqQnYuyMseaOrjtPRsRN1BL76cxuzmlBX4Kpq50jqe0VXijzDpn4TvOUiteQEorHSoZjPIVhbp8TSkLX9Ox3B04W2KEkOQIC2Sr9cuZOt7/g4Q2JaXgPub2ZYDgodq25H00FItMiOTBkGOOzBVEry+6fenhPAwn123SfmGFpQAqQw+FMwK2MErRWNP2CX3T6RMzz7N8t71J94fKum6T7pKDVuhKbiW3/hCG0xxLM2AMKdpTgh8boJd8B9mWjJML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2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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(-)