Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp569064rdh; Thu, 23 Nov 2023 11:43:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhauInNwgAG0OJm0td5RAtIN8LjTOLp8VPugXZ7ugY0ixIwfYp4pNACMqkj7TTBnkpbE+2 X-Received: by 2002:a17:902:dac1:b0:1bc:6861:d746 with SMTP id q1-20020a170902dac100b001bc6861d746mr489790plx.58.1700768624448; Thu, 23 Nov 2023 11:43:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700768624; cv=none; d=google.com; s=arc-20160816; b=KPHf8ePFE3lOCWrUwT51e5NRQFdVUDE+rxjXjmi8iWerZYzcOJcoOw076uwjgx/9iD hcISDE0qS5qtajhD9f/zesNwYYaGgFOwGJxd/rwr710MZq83MxCVeUfgJoId/B1EFOkG sTS+1300MWy7BnH4ZTQJB3clUOGs5xof/0Ht8u8WLAjtoITxfsot5el/wMaCI7A9H9YG kwa0Hk/NI/QuqTOoAKrqwKWO1x/hLTYVSAYNLWSbDekMRPlfb5shkvE2tu9hERaAZj4d FnJDpA98vfTPJ85q6FKEcYRzQ6vDRa0nkz1OyI3xFj2Pcd50prHt97MiyA5FGIMqk0QO BNug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=WpkzZHg09ad7VkHOnG/quo/T41ONjJ1411UTG4haLXU=; fh=78rxD++aXdi5pSqk5NXRmIg0gcR0tIFi+mTckTzLWQQ=; b=D8W/CRyoREFaCjIpyfMhYQtT3fe8xNhYFJzlGxfkQq+Dut7iCeUcKmicP+YRN5cSEU cnKvmwFsUHyiQKaS9k58LrT8p+vJBQc8oLCFTb5Zdt9jYMpze5UZOj2zRJ8XFLRdWtlw A/dudscVpqXVVy4AW6ACi0UCQlEUkhaL6MWI1MfBMwD/HQ6j5fxP10hCm1LZqnlqIjXW izFd3KuwTr/PlBBjzDRdVE74gXQKbfDMgTTc2pmueFa2syLpwyYJD1vz90DuNgbgXFeG b1SaZvNhNO9+fh71Y01FpFM0sdNPvZXHJqboRoWOVViAwjU3FJUrjAFf12KNcvTJaPVx vH5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=dp3Pv+Rb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id ix1-20020a170902f80100b001cc47d6f4absi560797plb.107.2023.11.23.11.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 11:43:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=dp3Pv+Rb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 1850C80A1D8D; Thu, 23 Nov 2023 11:43:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229478AbjKWTn1 (ORCPT + 99 others); Thu, 23 Nov 2023 14:43:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjKWTnZ (ORCPT ); Thu, 23 Nov 2023 14:43:25 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDE38D6F for ; Thu, 23 Nov 2023 11:43:30 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6bd20c30831so204686b3a.1 for ; Thu, 23 Nov 2023 11:43:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1700768610; x=1701373410; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WpkzZHg09ad7VkHOnG/quo/T41ONjJ1411UTG4haLXU=; b=dp3Pv+RbN7GZ2lrzjUffbQSF0LOT7BAeVxL6NUaQWXL7BGCA8WDsDwdIv1vBi/bJh+ x+kueLLHCLnZJPbC862Wr+FeUwslFH4KsQDxtO27+z0Knohfoc1/nZaiTZIc1t1+Rm5F bvX5ONi4yF1JFQpbP3Y8QFG7vPyFuxrLoF8RUWAS0rpopJh1ZZOocP0Uy5U4Mbs71JTW VqkNsfgKvCuwd0Zp3UY9OofwAtmwZAmjrrLLpSdFn8xdFL18Apgz7eraE8iP8965BEqc m07TYmEVY2jR+/GcdHXejKJSgc79oFbqpKjLmiJQ2p1a0vrTf4zkItE1lOEdMbMyzUCQ ca8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700768610; x=1701373410; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WpkzZHg09ad7VkHOnG/quo/T41ONjJ1411UTG4haLXU=; b=XHnXeVoC+PQ61/8XZiI2haHV7O/6MR1W8yhDeBN5w4qJD8lyMF26YW3wGlPWM0Z2zL Jd2ZKwHmrT6CU38i+tq8NX5H4/rOAo/ZTyn0N2h4TdYe5GKkylcLX0bzntmN7ViSS54i qPPhVaxbOGqJruuzDyHvubjmMtYF/VSVCaZk3cYohQHokbkYix4O3WRObQVI2v9KNHDz 6L7TP3Kb+IERVkegmQQiijIE2zO8934RiAeVnlWxTjNCu9Ua13alOs4WuIaHXwil4nwZ LepNUhpAizHjr6XcceCCr7Kf/dQHIFkrDmK+7ghO+L7Y1NvOIMsmutfeN8/wjj1a67bh gt6Q== X-Gm-Message-State: AOJu0YwwXkscfw+AIshs6Z2i9EUSf6rwnOnXHGwQWeBvKLP6oJ6dx9if TWYS8ADAAB1WCL08RodimCI/xg== X-Received: by 2002:a05:6a00:9381:b0:6bc:ff89:a2fc with SMTP id ka1-20020a056a00938100b006bcff89a2fcmr544106pfb.2.1700768610318; Thu, 23 Nov 2023 11:43:30 -0800 (PST) Received: from [192.168.1.150] ([198.8.77.194]) by smtp.gmail.com with ESMTPSA id n17-20020a056a0007d100b006cb65cfde6dsm1567524pfu.200.2023.11.23.11.43.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Nov 2023 11:43:29 -0800 (PST) Message-ID: Date: Thu, 23 Nov 2023 12:43:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/4] eventfd: simplify signal helpers Content-Language: en-US To: Christian Brauner , linux-fsdevel@vger.kernel.org Cc: Christoph Hellwig , Jan Kara , Vitaly Kuznetsov , Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, David Woodhouse , Paul Durrant , Oded Gabbay , Wu Hao , Tom Rix , Moritz Fischer , Xu Yilun , Zhenyu Wang , Zhi Wang , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter , Leon Romanovsky , Jason Gunthorpe , Frederic Barrat , Andrew Donnellan , Arnd Bergmann , Greg Kroah-Hartman , Eric Farman , Matthew Rosato , Halil Pasic , Vineeth Vijayan , Peter Oberparleiter , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Tony Krowiak , Jason Herne , Harald Freudenberger , "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , Diana Craciun , Alex Williamson , Eric Auger , Fei Li , Benjamin LaHaise , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Kirti Wankhede , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fpga@vger.kernel.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-rdma@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-usb@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-aio@kvack.org, cgroups@vger.kernel.org, linux-mm@kvack.org, Pavel Begunkov , io-uring@vger.kernel.org References: <20231122-vfs-eventfd-signal-v2-0-bd549b14ce0c@kernel.org> From: Jens Axboe In-Reply-To: <20231122-vfs-eventfd-signal-v2-0-bd549b14ce0c@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Thu, 23 Nov 2023 11:43:42 -0800 (PST) On 11/22/23 5:48 AM, Christian Brauner wrote: > Hey everyone, > > This simplifies the eventfd_signal() and eventfd_signal_mask() helpers > significantly. They can be made void and not take any unnecessary > arguments. > > I've added a few more simplifications based on Sean's suggestion. > > Signed-off-by: Christian Brauner > > Changes in v2: > - further simplify helpers > - Link to v1: https://lore.kernel.org/r/20230713-vfs-eventfd-signal-v1-0-7fda6c5d212b@kernel.org Only oddity I spotted was the kerneldoc, which someone else already brought up. Reviewed-by: Jens Axboe -- Jens Axboe