Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp524242rdb; Tue, 19 Sep 2023 02:36:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGP5y/F47h3K9dKEhdojxt7f+4ODjDhEEJ1k/SC9+i2Q8kgEkyPS4IhPIRgpvQLzYSoHh4D X-Received: by 2002:a54:478d:0:b0:3a7:62ff:24c1 with SMTP id o13-20020a54478d000000b003a762ff24c1mr12014916oic.46.1695116194328; Tue, 19 Sep 2023 02:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695116194; cv=none; d=google.com; s=arc-20160816; b=P7xsyE6q550bWLAlLx7RlUDjcEH38YvulRsWNM50u2SJjvbcQoRrQcY+J2ltarSmWu 0khMRDy78ShlF4u037jy+dXQX1AetE3rHvAvKPLn8EkDqoS8aI/z8lbV3AV2pRmQPLM1 Z7V+2SmFEjiocryKS0n9bipqABRnlc/8EGCeAaH9wOVuZ8i+c6TKqF1Pp9MZZ1B7JYJQ wwjTOw9nOvsFG97omUc7NKpECdKH0CzrBZbgsPWZo9YyvrP4Wu/+2jXIUfwt2tJ2zIC2 D6eZ3b5sLmM4+wqGdZa2QdS8a8COhh9HM2kcmFsyA+SMAZMYqg3Uan4r8r3ruPo/T2y1 Oufw== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=oAEtx1s5KODmNlfwZDRx/5fDgP/BvGwuP+6p/LeySyc=; fh=ju2aue9sO8BrtttculdcqRpAXwUVCIlqUTURYCZRbUk=; b=bhF+X0O3SsY7318RhTQnylMrNW2Pt065H8cZR1VcUAFuwsUSukc8AzCkcUfUXd2g9Q 330AqykbKXuY5nx4xcB0kZq2MkqJwXCtyBaZBteRJVzoQxFZN8hTR1P65qUqFiBiYkk6 kSuVVoejDS3DZf9lKBk1p2sAfsRm14hEc3I0Jg7aLj+3ipqD1vlDf7IZdjOrR6Wp7BXS nXypiX/s+v1saBY3xkfdgzU2PWDP+T3g/lpTGtq9UsMC7rOUYTizNPPwvlEk8ntDqQP/ XMQucUwwrN7ddrLRY64+yk3HpQWKjYXbNk4cBRXMaucxviwsB//P9UHkY9ILKcrTR5p1 QOvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=DwZfbqTC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id cw14-20020a056a00450e00b0068a683896b0si9213284pfb.152.2023.09.19.02.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 02:36:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=DwZfbqTC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 73A848046BD3; Mon, 18 Sep 2023 16:31:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230223AbjIRX0b (ORCPT + 99 others); Mon, 18 Sep 2023 19:26:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230217AbjIRX0a (ORCPT ); Mon, 18 Sep 2023 19:26:30 -0400 Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2F9A99 for ; Mon, 18 Sep 2023 16:26:24 -0700 (PDT) Received: by mail-qk1-x730.google.com with SMTP id af79cd13be357-76dc7b0da9fso306627285a.1 for ; Mon, 18 Sep 2023 16:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1695079584; x=1695684384; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=oAEtx1s5KODmNlfwZDRx/5fDgP/BvGwuP+6p/LeySyc=; b=DwZfbqTC7AvXz9ZXkivsv5q/c7I19qi/wfaxefQ+g8okYQYGKQGrNEfO19t7bVJBXT qFv0gjob3n2cQSBv8ULRwUCgkSqIH0+6qkC6TbOLczROI2o/pAcgYsA6Dd/PwL+u570v eI90iUK89OBcsznOnuy6tFTqjTNcRjnFeKYkLI+T7YOHlpF8/wzuUecf8cUKfE5m3OC7 nyiKJKE6a0WslmYAqv407a0EaWAUjoVfvkNPHadJG7/YTnOxI2LfqojBziqHMXTwNPAE ZUU5EOOXY7fY/RC0uqkRTJygBjpHpQIGJWgxYIhq4oH+gQX5eDdpNbPVD+eHxef9nVLq T6kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695079584; x=1695684384; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=oAEtx1s5KODmNlfwZDRx/5fDgP/BvGwuP+6p/LeySyc=; b=JQr1AoSi9Q/UELJFaUXz4cay1kHC11WWhI9k60uBqeVgmU9/RcM/U/qMOhIwesJPIY RyxBPhGRiEWVNQLWkjAiVdL7VM5o4sc4jDRqV38li9zS3ynwzn8aGPr9kQRwZrtnKo/7 ROTtT/iR26R02513DIfFRqd+kC+EHb9NO0yA9VSc149HqAJ+xeGHm6hhETkyHZ/0DGFK SQNOm6hh8k2zlOu1ePWT78H+8BA0nDPwyuVN3+721W6eWYqN1xdQfhXhrA72PJRfs4o/ 3q9i2C9aB/fk2Y8MH+fzvNMlKPV70bPpArvQBGF2V+QaKLKfGUkfxOKuOuiJAIhdjAZZ vkAw== X-Gm-Message-State: AOJu0YxVilntve+v//8bE18HDvNs1wYoUdP7/pNpDVWxaQ5scQz5OBus UDTAm7oj6QbYhZJdNsm797svkQ== X-Received: by 2002:a0c:e493:0:b0:658:2a3b:4a1f with SMTP id n19-20020a0ce493000000b006582a3b4a1fmr2642260qvl.22.1695079583965; Mon, 18 Sep 2023 16:26:23 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-68-26-201.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.26.201]) by smtp.gmail.com with ESMTPSA id u11-20020a0cec8b000000b00641899958efsm3617260qvo.130.2023.09.18.16.26.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 16:26:23 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1qiNdG-0007o0-U7; Mon, 18 Sep 2023 20:26:22 -0300 Date: Mon, 18 Sep 2023 20:26:22 -0300 From: Jason Gunthorpe To: Jann Horn Cc: Andrew Morton , Alistair Popple , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] mm: document mmu_notifier_invalidate_range_start_nonblock() Message-ID: <20230918232622.GN13795@ziepe.ca> References: <20230918201832.265108-1-jannh@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230918201832.265108-1-jannh@google.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 18 Sep 2023 16:31:19 -0700 (PDT) On Mon, Sep 18, 2023 at 10:18:32PM +0200, Jann Horn wrote: > Document what mmu_notifier_invalidate_range_start_nonblock() is for. > Also add a __must_check annotation to signal that callers must bail out if > a notifier vetoes the operation. > > Signed-off-by: Jann Horn > --- > include/linux/mmu_notifier.h | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) Reviewed-by: Jason Gunthorpe Jason