Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5977811rwr; Mon, 24 Apr 2023 11:40:54 -0700 (PDT) X-Google-Smtp-Source: AKy350Y8DbkF7NGOgwVgkO/onT8ntkgDgvNYOrJZaFy7lg54LE7CEdQmr+FtQP0Ygz47UiFRYbXR X-Received: by 2002:a17:902:e541:b0:1a6:6f09:6736 with SMTP id n1-20020a170902e54100b001a66f096736mr19943576plf.20.1682361653978; Mon, 24 Apr 2023 11:40:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682361653; cv=none; d=google.com; s=arc-20160816; b=d9RR/Voa0zhrboIMvLMMjiAb6uhbrZrYCAN7FLbkJlmOThZ53SENTC0WW6kPMsSojc N0d2C31PDvuAWDjwJ2ZBSAiDv2GcDAmZ17PwSrXhiZ34EEndyi2NJBcqNuESwUWUmjyX PslfjZsnTCKt1dFcQbw5ugzKJTPhROx++ivdaZl3E3JofH1sfrKPaaYw5X1HtDCJlblh RLaR/9qp2WvjmUX7q3e0hLOcnTGoWuTCRzCtfavHNiBN3tRaS7bKzw+vWcjfuhNGLk2d EbQ2sWXzOBLF/dY7kY9iXhRV9FJka3WUfyA/eckdRV0yNBGBYx7nPGmBd7p2AiqDCAop S0SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=bZwu4BA6je+20Yjn1dkXfl14UIqX1AOKe1vxeEaXPpA=; b=ON14Ei0vQD8dnmJUiy2mWtEOWOPDZyQH7GsrSl0jzBYgBfy/NhpiEbMPT7+at0B7wQ LZw2eKAlORJ5cpRmHGEa+eoRb6Ewp5UViUarebK9v6afV+z+npN07ReQYiv994JsjzCz BY62BqrLUk/4fX8ltIimpwgYkK51bOZE8i8pzHVFn7UYXzDglPi4K+P7WX4Rqp9VsPyr 95h/zxoKz5YCOYGgPO+0u2Sxp/kSpqiEjAcj//zSBze9cl4nAh12yWms0gtVCnrjtmYp X3mrBQYn0T0c+3zWnDL23JcKXszTSwsPXndz7EDGYj0Y56xiSfXJy06rn0f/V6lAy+u2 jGdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n7prQDYH; 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 a4-20020a170902ecc400b001a242dbbd27si12871507plh.513.2023.04.24.11.40.42; Mon, 24 Apr 2023 11:40:53 -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=n7prQDYH; 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 S232017AbjDXSfZ (ORCPT + 99 others); Mon, 24 Apr 2023 14:35:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232069AbjDXSfY (ORCPT ); Mon, 24 Apr 2023 14:35:24 -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 A07DE8A7F for ; Mon, 24 Apr 2023 11:35:04 -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 3F9AE61353 for ; Mon, 24 Apr 2023 18:35:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7831C433EF; Mon, 24 Apr 2023 18:35:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682361303; bh=elWSjrPnEy4/ZkSa87Ap3uNz+gGryyRP1CEeaZxvihU=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=n7prQDYHw4UEl3PVKv2trX1MkkHdTJWItJZAfD1Dpvrpa4y6GNMJKSSOXuLt2RsQs ZwJ5wlJOlkQV1NSHQ8nqMCSZA6aHd490VmIttPS4yBv2TCy1mxkeLuYWZzTZzQlH0P FvTn1JiFgfHK73mgRW6qmUl8qkSzxGwN+y4xeeeX4aqgpqJYQLVyRgmXziD7Wupu81 8T5+l7VRlb3fK54uthgds9mMpfBM6JhLf+QtHq+jUcSnklskUF/PLqjhFbpzClzjLV L9sDowUufveYWwwbomKHUR8LG4D6afANEQwXBx7X4pnFIiN1eXVtoUUVaZInXbGzEn zf7ztc/zmXFcA== Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 4E25915404E7; Mon, 24 Apr 2023 11:35:03 -0700 (PDT) Date: Mon, 24 Apr 2023 11:35:03 -0700 From: "Paul E. McKenney" To: Vlastimil Babka Cc: SeongJae Park , akpm@linux-foundation.org, willy@infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example code Message-ID: <4b3342d5-8407-49af-b4c8-b54d350be7a2@paulmck-laptop> Reply-To: paulmck@kernel.org References: <20230415033159.4249-1-sj@kernel.org> <20230415033159.4249-2-sj@kernel.org> <21cd0c00-4738-49f7-899f-ec3792520bfb@paulmck-laptop> <63f33512-f426-d808-5680-d5dfd8e0c9d2@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <63f33512-f426-d808-5680-d5dfd8e0c9d2@suse.cz> X-Spam-Status: No, score=-4.6 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 On Mon, Apr 24, 2023 at 08:27:45PM +0200, Vlastimil Babka wrote: > On 4/24/23 19:43, Paul E. McKenney wrote: > > On Sat, Apr 15, 2023 at 03:31:58AM +0000, SeongJae Park wrote: > >> An example code snippet for SLAB_TYPESAFE_BY_RCU is missing a semicolon. > >> Add it. > >> > >> Signed-off-by: SeongJae Park > > > > Reviewed-by: Paul E. McKenney > > > > Or please let me know if you would like me to take it. (Probably better > > going up through the usual slab route, though.) > > Yeah will take it via slab after merge window, but was hoping you'd ack > that (mainly 2/2) as indeed the correct example first. You got it! ;-) Thanx, Paul > Thanks, Vlastimil > > > Thanx, Paul > > > >> --- > >> include/linux/slab.h | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a/include/linux/slab.h b/include/linux/slab.h > >> index f8b1d63c63a3..b18e56c6f06c 100644 > >> --- a/include/linux/slab.h > >> +++ b/include/linux/slab.h > >> @@ -53,7 +53,7 @@ > >> * stays valid, the trick to using this is relying on an independent > >> * object validation pass. Something like: > >> * > >> - * rcu_read_lock() > >> + * rcu_read_lock(); > >> * again: > >> * obj = lockless_lookup(key); > >> * if (obj) { > >> -- > >> 2.25.1 > >>