Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4306986rwe; Mon, 17 Apr 2023 10:38:26 -0700 (PDT) X-Google-Smtp-Source: AKy350aVtP2gk0TvqEwU/AaiKN5mi4OmG0QuoqHa3XgZ29pVpmOSId8l3MaNLWlDDlAyjp1P9QWH X-Received: by 2002:a17:902:d40c:b0:1a6:b247:4316 with SMTP id b12-20020a170902d40c00b001a6b2474316mr7396908ple.62.1681753105917; Mon, 17 Apr 2023 10:38:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681753105; cv=none; d=google.com; s=arc-20160816; b=p/+inyxcfExxNiwbS5XpZpmqnPa3zJ7UPoGUxJRe3DO+C/ptuFi8f4HkgVA2mGTQSb cSoCQ/ebyYpILtC8sFkjDzXuUnrCX2p6Ryxwapu4g5xMP/NkoMnw95osvDbb6ok5+tjM s1eDtPycpQ9IxTf4luv8L20BhvNp480hrgrZS+1bRljMn+1vOdEAJdpP09ZgpOAGIP1J pT6CrpuLDFhLUIMnow6dD1Knl9YcUTwhHBjikHYdI3PbZY1Fr72PhPEDrhzTnrzwvTU9 sG0IJveDyHSwQoTtUw4bEvflKnt2+6TjVjHQRKZNfTS6OWC5tqvRkNiiA3xdhdG7qShf Zbhg== 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=AFbouDpw3TSurOj6TUyT7Ky2PzeBX3HvaJ85vz9Lzfw=; b=qVPIfLZsaYMzAfS/F7NapMgGLdO8aYnRoUcJJTZo48uRzvpHEQazwGv9P3bBOgEqN9 MszRkLVjRXIzDPXThpNm65QE7qFIqT26egDa+9i4goxyAIO4Ic5KDb+1VLkv1xeiRZfw Cw3Cal6d9/s7XoHVIuSX5/5sU6b9tjHGnJVW+J/b3Rvbe84urApfolhGID+Q8aBZsVHr UL1MyK1nHPiPcmzTpp6uWYtsbpaiLgpnGDEtH52dE+k4eKVugvkixhZ1aakU6C8mFr4H MkwbJroUZtWBrfSErorJYyjzZ7ZixBmVoSE3xW9t7MylWA+mCf+p4kPPMFMcUvbSIwvW XIaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WAB9sLbn; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a14-20020a170902ecce00b001a63e1de408si13069626plh.353.2023.04.17.10.38.14; Mon, 17 Apr 2023 10:38:25 -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=WAB9sLbn; 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 S229769AbjDQRcq (ORCPT + 99 others); Mon, 17 Apr 2023 13:32:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229688AbjDQRco (ORCPT ); Mon, 17 Apr 2023 13:32:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74ACB268A for ; Mon, 17 Apr 2023 10:32:43 -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 4F7286234B for ; 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 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(-) -- 2.25.1