Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2780682imd; Sun, 28 Oct 2018 18:17:14 -0700 (PDT) X-Google-Smtp-Source: AJdET5fVubcay7JGr53tlEl7ZLOdXtfQZmv0e8dv9G4d2R5pedG6J0MN86tj7w01yldCgOCmgLdH X-Received: by 2002:a63:344e:: with SMTP id b75mr11563563pga.184.1540775834089; Sun, 28 Oct 2018 18:17:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540775834; cv=none; d=google.com; s=arc-20160816; b=lmuXNQObOSCGzweKLPxlLRik9FieHuM1ln2walhG32YwDf6m/BfbxHC5JHbbP3phJH QzKbyhBbdDfzCMJW73gJ5hF0VJTIV+PNTiZ8zjmBAiopErogCTfYaOisjjResHxOs8MH CoXrIFqKVpjTnHI+Y8X57AknQX/ECIHLGuLTbEJc/mazp7kEO2GinMeYVXd54QBBPIk8 mgLu0pmqbORJXyDyIGhtv2KX6qBRl6oU81lYyNDgkiLI6Gcvsmu8T61VLttTJUFXXveZ Zn3+THYMKzvXviEKfO3NwErpHfPZllRwkQB6sn8R+PgIKqnNfUG7PrgDTuzoDvn7/EGB cxeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kR/eUjzyO3DZ2lA5DhRx8E4YrP7im8f3HcYTQzzogLM=; b=jcfOobobGBZ8PA7dpLmt+Iu5/6gryr0aaVSQaiqISaD7ATC5h0GQ5GVvL/bDgzF0AT D/CPPvADxxae3Fth6e3KJs+UHxkRdJi804p5mzLoV1/tx3AeKiR+C+5tS5t3vXExkCcz arSXHfpN/B0XbTB5ZIJPHsAaCgmwOp9S3RvRB5qvKlfi93yGl8CAlsjuXUnqWARRRc2N IzpbNi72Ma4GXSlZ5RcFHIareaC12Ut1179CXSqeSOj1eO2+/dj+A+aLiKGAiVrHJgUZ ICnZmGCZv/gtR9LZYV8hv7vJc5jvLc8c9pf8V/pWQqJs4XBZmk1Rxs2lOvF+YRUjEpG+ u8QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=Qf5dpBMo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cc11-v6si18000169plb.97.2018.10.28.18.16.57; Sun, 28 Oct 2018 18:17:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=Qf5dpBMo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726212AbeJ2KC4 (ORCPT + 99 others); Mon, 29 Oct 2018 06:02:56 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:43260 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbeJ2KC4 (ORCPT ); Mon, 29 Oct 2018 06:02:56 -0400 Received: by mail-pl1-f193.google.com with SMTP id 30-v6so2962186plb.10 for ; Sun, 28 Oct 2018 18:16:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kR/eUjzyO3DZ2lA5DhRx8E4YrP7im8f3HcYTQzzogLM=; b=Qf5dpBMoM02jHDrHos8NByjl0rNE1G0avhsF+G4AZheujoqsRKg9KnNw6nJvzCi/3J rnpt2iTUNsF5v3OFSck8cXJLy1cWMs9S6zKzTMAh7GvEqU4pPstoMQJ+SAlCdR5Q9vsv yMtIoZ3zHQyyQeeGci2EQTCfHGDXW6GLOWwg4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kR/eUjzyO3DZ2lA5DhRx8E4YrP7im8f3HcYTQzzogLM=; b=haEmIrvKh7ANoOlNQLO3zY9rklpr3MkgEDAvTk/kyPoXcYmPPE9ITFZurGYAC+McEt tvw1O47KjUeLV9p4qVzloSdpUJtAHJb2M+vSFBXop9tApzGpmoDbOMpxq9ku+sFD1wuB ziU+L7PfZPcGsICQAHPuB3T8K5k2rztD4B+R0l2H0Cn9R2HKcwT8zgEIOwEyaj9vCBwy 6dSAdDhME0Eq5MoOIEbDZTtT+dGAQ2lgHlvdnnZv3oURfL9wTBkQrcze8lGO9yYY9Onf FgtXxmt2NtL5DO3b9eXdlouqqMaNPDFO1l6ZR5mvFy6WnkAZaUDMB1KVnm1dI1ozZkmW ISAg== X-Gm-Message-State: AGRZ1gKxwAtpU/aElzx0+KcHvM+WOpvjcfX8JEDK6KEk115W0c237fpb c0mv+pgssZNxEqRdZQPqNVd3lw== X-Received: by 2002:a17:902:8c84:: with SMTP id t4-v6mr12465092plo.188.1540775794402; Sun, 28 Oct 2018 18:16:34 -0700 (PDT) Received: from localhost ([2620:0:1000:1601:3aef:314f:b9ea:889f]) by smtp.gmail.com with ESMTPSA id o1-v6sm19077662pgq.21.2018.10.28.18.16.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Oct 2018 18:16:33 -0700 (PDT) Date: Sun, 28 Oct 2018 18:16:31 -0700 From: Joel Fernandes To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org Subject: Re: [RFC] rcu: doc: update example about stale data Message-ID: <20181029011631.GA261737@joelaf.mtv.corp.google.com> References: <20181028021653.155513-1-joel@joelfernandes.org> <20181028172142.GN4170@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181028172142.GN4170@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 28, 2018 at 10:21:42AM -0700, Paul E. McKenney wrote: > On Sat, Oct 27, 2018 at 07:16:53PM -0700, Joel Fernandes (Google) wrote: > > The RCU example for 'rejecting stale data' on system-call auditting > > stops iterating through the rules if a deleted one is found. It makes > > more sense to continue looking at other rules once a deleted one is > > rejected. Although the original example is fine, this makes it more > > meaningful. > > > > Signed-off-by: Joel Fernandes (Google) > > Does the actual audit code that this was copied from now include the > continue statement? If so, please update the commit log to state that > and then I will take the resulting patch. (This example was inspired > by a long-ago version of the actual audit code.) The document talks of a situation that could be but is not really in the implementation. It says "If the system-call audit module were to ever need to reject stale data". So its not really something implemented. I was just correcting the example you had there since it made more sense to me to continue looking for other rules in the list once a rule was shown to be stale. It just makes the example more correct. But I'm Ok if you want to leave that alone ;-) Hence, the RFC tag to this patch ;-) - Joel