From patchwork Mon Apr 17 17:32:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13214399 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 C6BD4C77B7A for ; Mon, 17 Apr 2023 17:32:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 449B96B0071; Mon, 17 Apr 2023 13:32:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3F9D36B0072; Mon, 17 Apr 2023 13:32:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2E8448E0001; Mon, 17 Apr 2023 13:32:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 21BE06B0071 for ; Mon, 17 Apr 2023 13:32:46 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id DCD88C05FA for ; Mon, 17 Apr 2023 17:32:45 +0000 (UTC) X-FDA: 80691577890.06.74E0A14 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf11.hostedemail.com (Postfix) with ESMTP id 4D6AD4001E for ; Mon, 17 Apr 2023 17:32:44 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=WAB9sLbn; spf=pass (imf11.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=1681752764; 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=AFbouDpw3TSurOj6TUyT7Ky2PzeBX3HvaJ85vz9Lzfw=; b=LPCAz60wLOglUCg04bgnuZgCig45Ahn/rKhlD2XaR+zw95/HJ+iSvVEi7kFWvRCUaadWVu VGaSrdZkBP+a5Ihe11GsHil50u6LZU6x1GRmDZa3CiT2EO3wkq66ITtPwXHckUhJ4YtLZG bEIVArFuDxm4SSTWHTKxYyRqd8R+5qQ= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=WAB9sLbn; spf=pass (imf11.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=1681752764; a=rsa-sha256; cv=none; b=CqTHTr3ipdTgo9+LBOCuo43p4k3fsb64ro/Z6DIV+1Dzht0TLNRfxXy1SXZ4rQ9ufQJ+KW c6ePPjix1/wJsDSJXkb/rhMmz8onwfruFEhTZiZbgleuyDLZnh4CixtRZEy5jr9QH2vBvN TguQHtqjsN2NTaWkjzXH/wZsdbGZIxM= 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 4683E62224; Mon, 17 Apr 2023 17:32:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0164CC433EF; Mon, 17 Apr 2023 17:32:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681752762; bh=cS2RFs4XMe0xw2oUFdlh9ED73FpVzzv+cYgwOzfeKs4=; h=From:To:Cc:Subject:Date:From; b=WAB9sLbnY4Gys4zfBKBSFUuRBA0NSqtwZVxeBbn5t3RXcLpUGoo8uzemVUJirU7LP uc+86KL+i1KvLpscvoD4f/G3cBjANnmKn1gYPT4V6/WrxKSxX/RfdROz0x9V+pkGJu 7zrkxf9+DH1BEv2y7zxnZfEV16xQ16qwhjZF1TDbD6dCX8AH/zs8n/+afTaBkMR8OQ wwOYDJzO0CPpWdXwB4lzwZ0+6WGygwcW+xoyJjU4H5NDbKduNJ5JPXsvxDhvOM8hBM S/oyXLRGWGAk2CtkoVeyS8l2IvVnjnTS/vjD9aCYlyYbTh3fQ5PlyzWT4JM9++q1zx s6Sbu9J/02Avg== 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 v3 0/2] mm/slab: trivial fixup for SLAB_TYPESAFE_BY_RCU example code snippet Date: Mon, 17 Apr 2023 17:32:36 +0000 Message-Id: <20230417173238.22237-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Rspamd-Queue-Id: 4D6AD4001E X-Stat-Signature: yw4xztjrj8m5numxwzy8duuq96xu71fz X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1681752764-272037 X-HE-Meta: U2FsdGVkX1+hGbt8/85oP6GKoLXyQYI+SdeRgRp3ffp9tyAZk0eL0ExSwV8flCfEJT0lHWsrf5I13cDxrAdBzTb2L6QvDETX1rlRjMiK15/hPi8Un56dEY30xqnlDy4UfDQ24kEyjjkN9Tz29AWBUOcRPQd9Y/WPZbTCMnorY94h00vuoujIOPZ3o4qEavNw7E7dJhL2DKohqRwUB9C5fciazSthK1Fu0byvder5VDucNr8EZc7YW3x/ly8g63o2VCfoZUeLtrTYydyAOCBELxnNn2x+1UygwSYv+qyTrvP0clc4EFxaHsnLzFLzpmMFOk5YRQTRTyRHZ5yRpP1GIttnCpT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.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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(-)